summaryrefslogtreecommitdiff
path: root/tests/server/util.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-12-09 18:41:43 +0000
committerYang Tse <yangsita@gmail.com>2009-12-09 18:41:43 +0000
commit0653fa107f6fb03555d49da86a1fbfc659873f5b (patch)
tree215598118d9fb3da2371791a8706203fa745f381 /tests/server/util.c
parentebe5339003df6b4247f3637c4df5272a8dd69909 (diff)
downloadcurl-0653fa107f6fb03555d49da86a1fbfc659873f5b.tar.gz
signal handling to cleanup on SIGINT and SIGTERM, followup
Diffstat (limited to 'tests/server/util.c')
-rw-r--r--tests/server/util.c2
1 files changed, 1 insertions, 1 deletions
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)