[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 01/02: fix error info
From: |
gnunet |
Subject: |
[gnunet] 01/02: fix error info |
Date: |
Thu, 26 Dec 2019 20:51:44 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 705ef31579622b7ad033ae4a22ddc30fa7040148
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Fri Dec 27 04:47:27 2019 +0900
fix error info
---
src/util/common_logging.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 "<invalid v4 address>";
+ return "<invalid v6 address>";
v6 = (const struct sockaddr_in6 *) addr;
buf[0] = '[';
inet_ntop (AF_INET6, &v6->sin6_addr, &buf[1], INET6_ADDRSTRLEN);
--
To stop receiving notification emails like this one, please contact
address@hidden.