diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-09 23:01:24 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-09 23:01:24 +0200 |
commit | a4bcbd0e0416bb4965488ec1f16039aa302f8b91 (patch) | |
tree | c6d9c6716dfa0d97ae8c18c68b4de6be14bd940f /networking/httpd.c | |
parent | 9d617c44d2b1135d14b7dafd01a1d3992293f4d9 (diff) | |
download | busybox-w32-a4bcbd0e0416bb4965488ec1f16039aa302f8b91.tar.gz busybox-w32-a4bcbd0e0416bb4965488ec1f16039aa302f8b91.tar.bz2 busybox-w32-a4bcbd0e0416bb4965488ec1f16039aa302f8b91.zip |
telnetd: properly close fds in child
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 5cd98a573..956eecaf2 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -718,7 +718,7 @@ static void parse_conf(const char *path, int flag) | |||
718 | /* form "/path/file" */ | 718 | /* form "/path/file" */ |
719 | sprintf(cur->before_colon, "/%s%.*s", | 719 | sprintf(cur->before_colon, "/%s%.*s", |
720 | path, | 720 | path, |
721 | after_colon - buf - 1, /* includes "/", but not ":" */ | 721 | (int) (after_colon - buf - 1), /* includes "/", but not ":" */ |
722 | buf); | 722 | buf); |
723 | /* canonicalize it */ | 723 | /* canonicalize it */ |
724 | p = bb_simplify_abs_path_inplace(cur->before_colon); | 724 | p = bb_simplify_abs_path_inplace(cur->before_colon); |