From 1385899416a4396385ad421ae1f532be7103738a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 8 Oct 2006 12:49:22 +0000 Subject: attempt to regularize atoi mess. --- networking/httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/httpd.c') diff --git a/networking/httpd.c b/networking/httpd.c index 0e471ba58..f3fe49cae 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -1951,7 +1951,7 @@ int httpd_main(int argc, char *argv[]) #endif #if ENABLE_FEATURE_HTTPD_WITHOUT_INETD if (opt & OPT_PORT) - config->port = bb_xgetlarg(s_port, 10, 1, 0xffff); + config->port = xatou16(s_port); #if ENABLE_FEATURE_HTTPD_SETUID if (opt & OPT_SETUID) { char *e; -- cgit v1.2.3