aboutsummaryrefslogtreecommitdiff
path: root/libbb/xconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xconnect.c')
-rw-r--r--libbb/xconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index f1983a68b..0e0b247b8 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -231,7 +231,7 @@ IF_NOT_FEATURE_IPV6(sa_family_t af = AF_INET;)
231 cp++; /* skip ':' */ 231 cp++; /* skip ':' */
232 port = bb_strtou(cp, NULL, 10); 232 port = bb_strtou(cp, NULL, 10);
233 if (errno || (unsigned)port > 0xffff) { 233 if (errno || (unsigned)port > 0xffff) {
234 bb_error_msg("bad port spec '%s'", org_host); 234 bb_error_msg("bad port '%s'", cp);
235 if (ai_flags & DIE_ON_ERROR) 235 if (ai_flags & DIE_ON_ERROR)
236 xfunc_die(); 236 xfunc_die();
237 return NULL; 237 return NULL;