From 23eaea57add2f1c2a55a609b4e48c131a7bec6c7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 2 Jun 2012 15:08:54 +0000 Subject: uhttpd: remove some dead code SVN-Revision: 32028 --- package/uhttpd/src/uhttpd-lua.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'package/uhttpd/src/uhttpd-lua.c') diff --git a/package/uhttpd/src/uhttpd-lua.c b/package/uhttpd/src/uhttpd-lua.c index e8d932b47b..0b91b348f4 100644 --- a/package/uhttpd/src/uhttpd-lua.c +++ b/package/uhttpd/src/uhttpd-lua.c @@ -316,13 +316,7 @@ static bool uh_lua_socket_cb(struct client *cl) state->data_sent = true; } - /* child has been marked dead by timeout or child handler, bail out */ - if (false && cl->dead) - { - D("Lua: 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))) { -- cgit v1.2.3