← Commit list

c00bcf2d2

Denys Vlasenko
Denys Vlasenko
2021-09-10
SUCCESS Duration: 154s

Subject

libbb: reuse "bad port" error message string

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+1 -1
@@ -231,7 +231,7 @@ IF_NOT_FEATURE_IPV6(sa_family_t af = AF_INET;)
cp++; /* skip ':' */
port = bb_strtou(cp, NULL, 10);
if (errno || (unsigned)port > 0xffff) {
- bb_error_msg("bad port spec '%s'", org_host);
+ bb_error_msg("bad port '%s'", cp);
if (ai_flags & DIE_ON_ERROR)
xfunc_die();
return NULL;