diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-05 16:56:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-05 16:56:24 +0000 |
commit | 094ab711fef63958da5b4cf1cbcb51f3aa2a49c0 (patch) | |
tree | fc4b055b725e8ac133bc39cdaa92f129153ca4e7 /src/peerinfo/peerinfo_api.c | |
parent | 87ee0e533e7f41f8e7f5a9a133766cfa8ca4859d (diff) | |
download | gnunet-094ab711fef63958da5b4cf1cbcb51f3aa2a49c0.tar.gz gnunet-094ab711fef63958da5b4cf1cbcb51f3aa2a49c0.zip |
cleaner
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r-- | src/peerinfo/peerinfo_api.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c index dbaecb81e..95745a2bd 100644 --- a/src/peerinfo/peerinfo_api.c +++ b/src/peerinfo/peerinfo_api.c | |||
@@ -385,9 +385,11 @@ peerinfo_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
385 | ic->h->in_receive = GNUNET_NO; | 385 | ic->h->in_receive = GNUNET_NO; |
386 | if (msg == NULL) | 386 | if (msg == NULL) |
387 | { | 387 | { |
388 | char * err_msg; | 388 | char *err_msg; |
389 | GNUNET_asprintf(&err_msg,_("Failed to receive response from `%s' service.\n"),"PEERINFO"); | 389 | GNUNET_asprintf(&err_msg, |
390 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,err_msg); | 390 | _("Failed to receive response from `%s' service."), |
391 | "PEERINFO"); | ||
392 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "%s\n", err_msg); | ||
391 | reconnect (ic->h); | 393 | reconnect (ic->h); |
392 | trigger_transmit (ic->h); | 394 | trigger_transmit (ic->h); |
393 | if (ic->timeout_task != GNUNET_SCHEDULER_NO_TASK) | 395 | if (ic->timeout_task != GNUNET_SCHEDULER_NO_TASK) |