- debug
authorBart Polot <bart@net.in.tum.de>
Thu, 26 Jul 2012 16:21:03 +0000 (16:21 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 26 Jul 2012 16:21:03 +0000 (16:21 +0000)
src/mesh/mesh_api.c

index 565e81d6369035f14c5965b280f346d98c0814de..1592263e7a6eae73df4b8440901224fa243906d7 100644 (file)
@@ -1353,13 +1353,14 @@ send_callback (void *cls, size_t size, void *buf)
       LOG (GNUNET_ERROR_TYPE_DEBUG, "  nothing left to transmit\n");
     }
   }
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "Send packet() END\n");
   if (GNUNET_NO == h->in_receive)
   {
+    LOG (GNUNET_ERROR_TYPE_DEBUG, " start receiving from service\n");
     h->in_receive = GNUNET_YES;
     GNUNET_CLIENT_receive (h->client, &msg_received, h,
                            GNUNET_TIME_UNIT_FOREVER_REL);
   }
+  LOG (GNUNET_ERROR_TYPE_DEBUG, "Send packet() END\n");
   return tsize;
 }