diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-06-26 09:05:32 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-06-26 09:05:32 +0000 |
commit | 926cb9f0ac7d1130a975f078a88cadc5e7ad501b (patch) | |
tree | a3bff17bd1a15becbd989f510127bae6c895fb2c /libbb | |
parent | 52b12bb8bef0b14396f17b373a71334026f7e0cc (diff) | |
download | busybox-w32-926cb9f0ac7d1130a975f078a88cadc5e7ad501b.tar.gz busybox-w32-926cb9f0ac7d1130a975f078a88cadc5e7ad501b.tar.bz2 busybox-w32-926cb9f0ac7d1130a975f078a88cadc5e7ad501b.zip |
Geir Thomassen wrote, regarding networking/httpd.c line 1358
Hello, I think the test for an unconfigured httpd is wrong in
the CVS (busybox-unstable-20030620.tar.bz2)
flg_deny_all is default 0
vodz then wrote:
Oops. You are right.
Also, this mistake haved from two place.
Last patch rewroted to my new get_ularg() function for overcompensate size
from this error found ;-)
git-svn-id: svn://busybox.net/trunk/busybox@6981 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/login.c | 2 | ||||
-rw-r--r-- | libbb/xgetlarg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libbb/login.c b/libbb/login.c index 67636e6b5..3f67a819a 100644 --- a/libbb/login.c +++ b/libbb/login.c | |||
@@ -45,7 +45,7 @@ void print_login_issue(const char *issue_file, const char *tty) | |||
45 | time(&t); | 45 | time(&t); |
46 | uname(&uts); | 46 | uname(&uts); |
47 | 47 | ||
48 | puts(""); /* start a new line */ | 48 | puts("\r"); /* start a new line */ |
49 | 49 | ||
50 | if ((fd = fopen(issue_file, "r"))) { | 50 | if ((fd = fopen(issue_file, "r"))) { |
51 | while ((c = fgetc(fd)) != EOF) { | 51 | while ((c = fgetc(fd)) != EOF) { |
diff --git a/libbb/xgetlarg.c b/libbb/xgetlarg.c index 06e776dc9..c1bfa277a 100644 --- a/libbb/xgetlarg.c +++ b/libbb/xgetlarg.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #include "busybox.h" | 14 | #include "busybox.h" |
15 | 15 | ||
16 | extern long bb_xgetlarg(char *arg, int base, long lower, long upper) | 16 | extern long bb_xgetlarg(const char *arg, int base, long lower, long upper) |
17 | { | 17 | { |
18 | long result; | 18 | long result; |
19 | char *endptr; | 19 | char *endptr; |