nodeb
authorChristian Grothoff <christian@grothoff.org>
Tue, 23 Feb 2010 10:30:46 +0000 (10:30 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 23 Feb 2010 10:30:46 +0000 (10:30 +0000)
src/core/gnunet-service-core.c

index 2ba255394d9c44c3c1ed55071c57ac71f15ed802..bb4d34dfe962d7c3f1cb832c33160983bee2cea0 100644 (file)
@@ -859,9 +859,12 @@ handle_client_init (void *cls,
   for (i=0;i<c->tcnt;i++)
     wtypes[i] = ntohs (types[i]);
   c->options = ntohl (im->options);
+#if DEBUG_CORE_CLIENT
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Client %p is interested in %u message types\n",
+             c,
              c->tcnt);
+#endif
   /* send init reply message */
   irm.header.size = htons (sizeof (struct InitReplyMessage));
   irm.header.type = htons (GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY);
@@ -2825,10 +2828,12 @@ deliver_message (struct Neighbour *sender,
     }
   if (dropped == GNUNET_YES)
     {
+#if DEBUG_CORE
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                  "Message of type %u from `%4s' not delivered to any client.\n",
                  type,
                  GNUNET_i2s (&sender->peer));
+#endif
       /* FIXME: stats... */
     }
 }