aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_digestauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_digestauth.c')
-rw-r--r--src/testcurl/test_digestauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcurl/test_digestauth.c b/src/testcurl/test_digestauth.c
index e93a13bb..49a3c52b 100644
--- a/src/testcurl/test_digestauth.c
+++ b/src/testcurl/test_digestauth.c
@@ -308,5 +308,5 @@ main (int argc, char *const *argv)
308 if (errorCount != 0) 308 if (errorCount != 0)
309 fprintf (stderr, "Error (code: %u)\n", errorCount); 309 fprintf (stderr, "Error (code: %u)\n", errorCount);
310 curl_global_cleanup (); 310 curl_global_cleanup ();
311 return errorCount != 0; /* 0 == pass */ 311 return (0 == errorCount) ? 0 : 1; /* 0 == pass */
312} 312}