From: tim-le Date: Sun, 5 Mar 2017 15:10:27 +0000 (+0800) Subject: evutil: fix a typo of comment X-Git-Tag: release-2.1.9-beta^2~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dddccd019f525a51b9ff4d839dca29b4dad39ff;p=libevent evutil: fix a typo of comment Fixes: #481 Fixes: #480 (cherry picked from commit 8df81546f3f25ac83888eca31843484703232492) --- 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,