From 8df81546f3f25ac83888eca31843484703232492 Mon Sep 17 00:00:00 2001 From: tim-le Date: Sun, 5 Mar 2017 23:10:27 +0800 Subject: [PATCH] evutil: fix a typo of comment Fixes: #481 Fixes: #480 --- evutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evutil.c b/evutil.c index 1e8ef7bd..4dd4a2e1 100644 --- a/evutil.c +++ b/evutil.c @@ -1053,7 +1053,7 @@ evutil_getaddrinfo_common_(const char *nodename, const char *servname, struct sockaddr_in sin; memset(&sin, 0, sizeof(sin)); if (1==evutil_inet_pton(AF_INET, nodename, &sin.sin_addr)) { - /* Got an ipv6 address. */ + /* Got an ipv4 address. */ sin.sin_family = AF_INET; sin.sin_port = htons(port); *res = evutil_new_addrinfo_((struct sockaddr*)&sin, -- 2.40.0