projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attempt to regularize atoi mess.
[oweals/busybox.git]
/
networking
/
httpd.c
diff --git
a/networking/httpd.c
b/networking/httpd.c
index 0e471ba580211fb735bd672458ba0a51fa95f572..f3fe49caef73880f98f6db306137d6ef3b100e80 100644
(file)
--- 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;