summaryrefslogtreecommitdiff
path: root/uhttpd-lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'uhttpd-lua.c')
-rw-r--r--uhttpd-lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uhttpd-lua.c b/uhttpd-lua.c
index fcbdc64..b3f3cb4 100644
--- a/uhttpd-lua.c
+++ b/uhttpd-lua.c
@@ -452,7 +452,7 @@ void uh_lua_request(struct client *cl, struct http_request *req, lua_State *L)
FD_SET(wfd[1], &writer);
/* wait until we can read or write or both */
- if( select(fd_max, &reader,
+ if( select_intr(fd_max, &reader,
(content_length > -1) ? &writer : NULL, NULL,
(data_sent < 1) ? &timeout : NULL) > 0
) {