aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-02-23 10:30:46 +0000
committerChristian Grothoff <christian@grothoff.org>2010-02-23 10:30:46 +0000
commitf3384e5cee57675dbf8675777cfc7b486052ba6d (patch)
treed1a7f76b97730690aa506143796e5ab692022711 /src
parentfabcda1771aa1685739c50f76a39167b0ecea89a (diff)
downloadgnunet-f3384e5cee57675dbf8675777cfc7b486052ba6d.tar.gz
gnunet-f3384e5cee57675dbf8675777cfc7b486052ba6d.zip
nodeb
Diffstat (limited to 'src')
-rw-r--r--src/core/gnunet-service-core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index 2ba255394..bb4d34dfe 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -859,9 +859,12 @@ handle_client_init (void *cls,
859 for (i=0;i<c->tcnt;i++) 859 for (i=0;i<c->tcnt;i++)
860 wtypes[i] = ntohs (types[i]); 860 wtypes[i] = ntohs (types[i]);
861 c->options = ntohl (im->options); 861 c->options = ntohl (im->options);
862#if DEBUG_CORE_CLIENT
862 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 863 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
863 "Client %p is interested in %u message types\n", 864 "Client %p is interested in %u message types\n",
865 c,
864 c->tcnt); 866 c->tcnt);
867#endif
865 /* send init reply message */ 868 /* send init reply message */
866 irm.header.size = htons (sizeof (struct InitReplyMessage)); 869 irm.header.size = htons (sizeof (struct InitReplyMessage));
867 irm.header.type = htons (GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY); 870 irm.header.type = htons (GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY);
@@ -2825,10 +2828,12 @@ deliver_message (struct Neighbour *sender,
2825 } 2828 }
2826 if (dropped == GNUNET_YES) 2829 if (dropped == GNUNET_YES)
2827 { 2830 {
2831#if DEBUG_CORE
2828 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 2832 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
2829 "Message of type %u from `%4s' not delivered to any client.\n", 2833 "Message of type %u from `%4s' not delivered to any client.\n",
2830 type, 2834 type,
2831 GNUNET_i2s (&sender->peer)); 2835 GNUNET_i2s (&sender->peer));
2836#endif
2832 /* FIXME: stats... */ 2837 /* FIXME: stats... */
2833 } 2838 }
2834} 2839}