-never a clear warning, use INFO
authorChristian Grothoff <christian@grothoff.org>
Thu, 15 Mar 2012 12:54:25 +0000 (12:54 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 15 Mar 2012 12:54:25 +0000 (12:54 +0000)
src/util/connection.c

index 60e7f115f376d3fd1f8c2b65c65e28676b0ae085..da7ba599d6504f14ae564ff62fdda6d9e9f03559 100644 (file)
@@ -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);