From 800b2ddade486f8fb69b99adab82a959a99e0a6b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 22 Jun 2012 08:21:12 +0000 Subject: [PATCH] -print switch target --- src/util/client.c | 2 ++ src/util/service.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/util/client.c b/src/util/client.c index d9be7f46e..1f08ea25c 100644 --- a/src/util/client.c +++ b/src/util/client.c @@ -740,6 +740,8 @@ GNUNET_CLIENT_service_test (const char *service, _("UNIXPATH `%s' too long, maximum length is %llu\n"), unixpath, (unsigned long long) sizeof (s_un.sun_path)); unixpath = GNUNET_NETWORK_shorten_unixpath (unixpath); + LOG (GNUNET_ERROR_TYPE_INFO, + _("Using `%s' instead\n"), unixpath); } } if (NULL != unixpath) diff --git a/src/util/service.c b/src/util/service.c index c9bbee3c8..173b5d987 100644 --- a/src/util/service.c +++ b/src/util/service.c @@ -975,6 +975,9 @@ GNUNET_SERVICE_get_server_addresses (const char *service_name, _("UNIXPATH `%s' too long, maximum length is %llu\n"), unixpath, (unsigned long long) sizeof (s_un.sun_path)); unixpath = GNUNET_NETWORK_shorten_unixpath (unixpath); + LOG (GNUNET_ERROR_TYPE_INFO, + _("Using `%s' instead\n"), unixpath); + } } if (NULL != unixpath) -- 2.25.1