From: Schanzenbach, Martin Date: Thu, 26 Dec 2019 19:47:27 +0000 (+0900) Subject: fix error info X-Git-Tag: v0.12.2~50 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=705ef31579622b7ad033ae4a22ddc30fa7040148;p=oweals%2Fgnunet.git fix error info --- diff --git a/src/util/common_logging.c b/src/util/common_logging.c index d13f3a7fa..430f75e70 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c @@ -1414,7 +1414,7 @@ GNUNET_a2s (const struct sockaddr *addr, socklen_t addrlen) case AF_INET6: if (addrlen != sizeof(struct sockaddr_in6)) - return ""; + return ""; v6 = (const struct sockaddr_in6 *) addr; buf[0] = '['; inet_ntop (AF_INET6, &v6->sin6_addr, &buf[1], INET6_ADDRSTRLEN);