← Commit list

75b739767

Denys Vlasenko
Denys Vlasenko
2009-11-24
FAILED Duration: 26s

Subject

fix trivial compile breakage

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/xconnect.c+2 -2
@@ -223,7 +223,7 @@ IF_NOT_FEATURE_IPV6(sa_family_t af = AF_INET;)
}
/* Next two if blocks allow to skip getaddrinfo()
- * in case host is a numeric IP(v6) address,
+ * in case host name is a numeric IP(v6) address.
* getaddrinfo() initializes DNS resolution machinery,
* scans network config and such - tens of syscalls.
*/
@@ -283,7 +283,7 @@ IF_NOT_FEATURE_IPV6(sa_family_t af = AF_INET;)
r->len = used_res->ai_addrlen;
memcpy(&r->u.sa, used_res->ai_addr, used_res->ai_addrlen);
- IF_FEATURE_IPV6(set_port:)
+ set_port:
set_nport(r, htons(port));
ret:
freeaddrinfo(result);