aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib508.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib508.c b/tests/libtest/lib508.c
index cc240db5c..ecbc41912 100644
--- a/tests/libtest/lib508.c
+++ b/tests/libtest/lib508.c
@@ -31,7 +31,7 @@ static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp)
return 1; /* we return 1 byte at a time! */
}
- return -1; /* no more data left to deliver */
+ return 0; /* no more data left to deliver */
}
int test(char *URL)