diff options
author | Eric Andersen | 2003-06-26 09:05:32 +0000 |
---|---|---|
committer | Eric Andersen | 2003-06-26 09:05:32 +0000 |
commit | a3bb3e6e0b80c5c905e8088b44be9b850c876b88 (patch) | |
tree | a3bff17bd1a15becbd989f510127bae6c895fb2c /libbb | |
parent | fd10c70521203bfbb5d87a2e66048ffab1f13c4c (diff) | |
download | busybox-a3bb3e6e0b80c5c905e8088b44be9b850c876b88.zip busybox-a3bb3e6e0b80c5c905e8088b44be9b850c876b88.tar.gz |
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 ;-)
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 67636e6..3f67a81 100644 --- a/libbb/login.c +++ b/libbb/login.c @@ -45,7 +45,7 @@ void print_login_issue(const char *issue_file, const char *tty) time(&t); uname(&uts); - puts(""); /* start a new line */ + puts("\r"); /* start a new line */ if ((fd = fopen(issue_file, "r"))) { while ((c = fgetc(fd)) != EOF) { diff --git a/libbb/xgetlarg.c b/libbb/xgetlarg.c index 06e776d..c1bfa27 100644 --- a/libbb/xgetlarg.c +++ b/libbb/xgetlarg.c @@ -13,7 +13,7 @@ #include "busybox.h" -extern long bb_xgetlarg(char *arg, int base, long lower, long upper) +extern long bb_xgetlarg(const char *arg, int base, long lower, long upper) { long result; char *endptr; |