aboutsummaryrefslogtreecommitdiff
path: root/src/util/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/client.c')
-rw-r--r--src/util/client.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/client.c b/src/util/client.c
index a5e04d7b2..0f7d0d359 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -33,7 +33,7 @@
33#include "gnunet_socks.h" 33#include "gnunet_socks.h"
34 34
35 35
36#define LOG(kind,...) GNUNET_log_from (kind, "util",__VA_ARGS__) 36#define LOG(kind,...) GNUNET_log_from (kind, "util-client",__VA_ARGS__)
37 37
38 38
39/** 39/**
@@ -298,6 +298,11 @@ recv_message (void *cls,
298 298
299 if (GNUNET_YES == cstate->in_destroy) 299 if (GNUNET_YES == cstate->in_destroy)
300 return GNUNET_SYSERR; 300 return GNUNET_SYSERR;
301
302 LOG (GNUNET_ERROR_TYPE_INFO,
303 "Received message of type %u and size %u from %s\n",
304 ntohs (msg->type), ntohs (msg->size), cstate->service_name);
305
301 GNUNET_MQ_inject_message (cstate->mq, 306 GNUNET_MQ_inject_message (cstate->mq,
302 msg); 307 msg);
303 if (GNUNET_YES == cstate->in_destroy) 308 if (GNUNET_YES == cstate->in_destroy)