From: Christian Grothoff Date: Thu, 15 Mar 2012 12:54:25 +0000 (+0000) Subject: -never a clear warning, use INFO X-Git-Tag: initial-import-from-subversion-38251~14245 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2fc83b67f0cb28d905f625e099b874a23d58b14b;p=oweals%2Fgnunet.git -never a clear warning, use INFO --- diff --git a/src/util/connection.c b/src/util/connection.c index 60e7f115f..da7ba599d 100644 --- a/src/util/connection.c +++ b/src/util/connection.c @@ -622,11 +622,8 @@ transmit_ready (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); static void connect_fail_continuation (struct GNUNET_CONNECTION_Handle *h) { - LOG ((0 != - strncmp (h->hostname, "localhost:", - 10)) ? GNUNET_ERROR_TYPE_INFO : GNUNET_ERROR_TYPE_WARNING, - _ - ("Failed to establish TCP connection to `%s:%u', no further addresses to try.\n"), + LOG (GNUNET_ERROR_TYPE_INFO, + _("Failed to establish TCP connection to `%s:%u', no further addresses to try.\n"), h->hostname, h->port); /* connect failed / timed out */ GNUNET_break (h->ap_head == NULL);