diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-02 15:08:54 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-02 15:08:54 +0000 |
commit | 23eaea57add2f1c2a55a609b4e48c131a7bec6c7 (patch) | |
tree | 0efdd07db47957eb69562d3d3028e8bf32eec18d /package/uhttpd/src/uhttpd-cgi.c | |
parent | 2cf72776d89f96eb6184b084992894c86a62cd00 (diff) | |
download | upstream-23eaea57add2f1c2a55a609b4e48c131a7bec6c7.tar.gz upstream-23eaea57add2f1c2a55a609b4e48c131a7bec6c7.tar.bz2 upstream-23eaea57add2f1c2a55a609b4e48c131a7bec6c7.zip |
uhttpd: remove some dead code
SVN-Revision: 32028
Diffstat (limited to 'package/uhttpd/src/uhttpd-cgi.c')
-rw-r--r-- | package/uhttpd/src/uhttpd-cgi.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/package/uhttpd/src/uhttpd-cgi.c b/package/uhttpd/src/uhttpd-cgi.c index 5e445ca372..ee1b80cc7f 100644 --- a/package/uhttpd/src/uhttpd-cgi.c +++ b/package/uhttpd/src/uhttpd-cgi.c @@ -283,13 +283,7 @@ static bool uh_cgi_socket_cb(struct client *cl) } } - /* child has been marked dead by timeout or child handler, bail out */ - if (false && cl->dead) - { - D("CGI: Child(%d) is marked dead, returning\n", state->cl->proc.pid); - goto out; - } - + /* got EOF or read error from child */ if ((len == 0) || ((errno != EAGAIN) && (errno != EWOULDBLOCK) && (len == -1))) { |