Update plibc header
[oweals/gnunet.git] / src / util / test_mq_client.c
index 30e498fcc60ba1530594df88e41017188e92a3a3..4e460ebdb565b2bd918239efefbc1cfa0d9e4e82 100644 (file)
@@ -23,7 +23,6 @@
  * @brief tests for mq with connection client
  */
 #include "platform.h"
-#include "gnunet_common.h"
 #include "gnunet_util_lib.h"
 
 #define PORT 23336
@@ -49,13 +48,8 @@ recv_cb (void *cls, struct GNUNET_SERVER_Client *argclient,
          const struct GNUNET_MessageHeader *message)
 {
   received++;
-
-  printf ("received\n");
-
-
   if ((received == 2) && (GNUNET_YES == notify))
   {
-    printf ("done\n");
     GNUNET_SERVER_receive_done (argclient, GNUNET_NO);
     return;
   }
@@ -103,7 +97,6 @@ void send_cb (void *cls)
 {
   /* the notify should only be called once */
   GNUNET_assert (GNUNET_NO == notify);
-  printf ("notify sent\n");
   notify = GNUNET_YES;
 }
 
@@ -113,7 +106,7 @@ void test_mq (struct GNUNET_CLIENT_Connection *client)
   struct GNUNET_MQ_Envelope *mqm;
 
   /* FIXME: test handling responses */
-  mq = GNUNET_MQ_queue_for_connection_client (client, NULL, NULL);
+  mq = GNUNET_MQ_queue_for_connection_client (client, NULL, NULL, NULL);
 
   mqm = GNUNET_MQ_msg_header (MY_TYPE);
   GNUNET_MQ_send (mq, mqm);