From 094ab711fef63958da5b4cf1cbcb51f3aa2a49c0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Jun 2011 16:56:24 +0000 Subject: [PATCH] cleaner --- src/peerinfo/peerinfo_api.c | 8 +++++--- 1 file 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) ic->h->in_receive = GNUNET_NO; if (msg == NULL) { - char * err_msg; - GNUNET_asprintf(&err_msg,_("Failed to receive response from `%s' service.\n"),"PEERINFO"); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,err_msg); + char *err_msg; + GNUNET_asprintf(&err_msg, + _("Failed to receive response from `%s' service."), + "PEERINFO"); + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "%s\n", err_msg); reconnect (ic->h); trigger_transmit (ic->h); if (ic->timeout_task != GNUNET_SCHEDULER_NO_TASK) -- 2.25.1