-/**
- * Transmit the given message to the client.
- *
- * @param client target of the message
- * @param msg message to transmit, will be freed!
- */
-static void
-transmit (struct GNUNET_SERVICE_Client *client,
- struct GNUNET_MessageHeader *msg)
-{
- struct GNUNET_MQ_Handle *mq = GNUNET_SERVICE_client_get_mq (client);
- struct GNUNET_MQ_Envelope *env;
-
- /* NOTE: small hack here, should have constructed and
- passed an 'env' in the first place... */
- env = GNUNET_MQ_msg_copy (msg);
- GNUNET_MQ_send (mq,
- env);
-}
-
-