plugin not receiving messages
authorNathan S. Evans <evans@in.tum.de>
Thu, 24 Jun 2010 13:50:48 +0000 (13:50 +0000)
committerNathan S. Evans <evans@in.tum.de>
Thu, 24 Jun 2010 13:50:48 +0000 (13:50 +0000)
src/dv/gnunet-service-dv.c

index 3e47e17fc964f9bbb5599989c2da1cea643aab71..646903b6f8d12389affc0e6caf4f3d4a2416ce14 100644 (file)
@@ -693,8 +693,8 @@ size_t transmit_to_plugin (void *cls,
   if (buf == NULL)
     {
       /* client disconnected */
-#if DEBUG_DV
-      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "`%s': buffer was NULL\n", "DHT");
+#if DEBUG_DV_MESSAGES
+      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "%s: %s buffer was NULL (client disconnect?)\n", my_short_id, "transmit_to_plugin");
 #endif
       return 0;
     }
@@ -703,8 +703,8 @@ size_t transmit_to_plugin (void *cls,
   while ( (NULL != (reply = plugin_pending_head)) &&
           (size >= off + (msize = ntohs (reply->msg->size))))
     {
-#if DEBUG_DV
-    GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "`%s' : transmit_notify (plugin) called with size %d\n", "dv service", msize);
+#if DEBUG_DV_MESSAGES
+    GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "%s: transmit_notify (plugin) called with size %d (message sent)\n", my_short_id, msize);
 #endif
       GNUNET_CONTAINER_DLL_remove (plugin_pending_head,
                                    plugin_pending_tail,