← Commit list

3a5ed5680

Eric Andersen
Eric Andersen
2003-12-23
FAILED Duration: 69s

Subject

fix broken formatting

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+3 -3
@@ -39,9 +39,9 @@ unsigned short bb_lookup_port(const char *port, unsigned short default_port)
if (errno != 0 || *endptr!='\0' || endptr==port || port_long < 0 || port_long > 65535) {
struct servent *tserv = getservbyname(port, "tcp");
if (tserv) {
- port_nr = tserv->s_port;
- }
- } else {
+ port_nr = tserv->s_port;
+ }
+ } else {
port_nr = htons(port_long);
}
errno = old_errno;