From 0653fa107f6fb03555d49da86a1fbfc659873f5b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 9 Dec 2009 18:41:43 +0000 Subject: signal handling to cleanup on SIGINT and SIGTERM, followup --- tests/server/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/server/util.c') diff --git a/tests/server/util.c b/tests/server/util.c index 6c5022406..7b00159ee 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -203,7 +203,7 @@ int wait_ms(int timeout_ms) if(r != -1) break; error = SOCKERRNO; - if(error == EINVAL) + if(error && (error != EINTR)) break; pending_ms = timeout_ms - (int)curlx_tvdiff(curlx_tvnow(), initial_tv); if(pending_ms <= 0) -- cgit v1.2.1