- test for external iterator
[oweals/gnunet.git] / src / util / test_mq_client.c
index 30e498fcc60ba1530594df88e41017188e92a3a3..18cd8a9485c8634156e87521ce297e637dfa93dc 100644 (file)
@@ -49,13 +49,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 +98,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 +107,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);