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 ;-)
This commit is contained in:
Eric Andersen
2003-06-26 09:05:32 +00:00
parent fd10c70521
commit a3bb3e6e0b
4 changed files with 73 additions and 76 deletions

View File

@@ -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) {

View File

@@ -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;