diff options
author | Denys Vlasenko | 2009-06-09 23:01:24 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-06-09 23:01:24 +0200 |
commit | a4bcbd0e0416bb4965488ec1f16039aa302f8b91 (patch) | |
tree | c6d9c6716dfa0d97ae8c18c68b4de6be14bd940f /networking/httpd.c | |
parent | 9d617c44d2b1135d14b7dafd01a1d3992293f4d9 (diff) | |
download | busybox-a4bcbd0e0416bb4965488ec1f16039aa302f8b91.zip busybox-a4bcbd0e0416bb4965488ec1f16039aa302f8b91.tar.gz |
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 5cd98a5..956eeca 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -718,7 +718,7 @@ static void parse_conf(const char *path, int flag) /* form "/path/file" */ sprintf(cur->before_colon, "/%s%.*s", path, - after_colon - buf - 1, /* includes "/", but not ":" */ + (int) (after_colon - buf - 1), /* includes "/", but not ":" */ buf); /* canonicalize it */ p = bb_simplify_abs_path_inplace(cur->before_colon); |