aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libtest/lib556.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib556.c')
-rw-r--r--tests/libtest/lib556.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib556.c b/tests/libtest/lib556.c
index f06c529..acb0f63 100644
--- a/tests/libtest/lib556.c
+++ b/tests/libtest/lib556.c
@@ -95,8 +95,8 @@ int test(char *URL)
} while((res == CURLE_OK && iolen != 0) || (res == CURLE_AGAIN));
}
- if(res != CURLE_OK || iolen != 0)
- return TEST_ERR_FAILURE;
+ if(iolen != 0)
+ res = TEST_ERR_FAILURE;
}
test_cleanup: