diff options
Diffstat (limited to 'tests/libtest/libntlmconnect.c')
-rw-r--r-- | tests/libtest/libntlmconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c index 40a837ca6..2ae7bb2fb 100644 --- a/tests/libtest/libntlmconnect.c +++ b/tests/libtest/libntlmconnect.c @@ -44,7 +44,7 @@ static size_t callback(char *ptr, size_t size, size_t nmemb, void *data) long longdata; CURLcode code; - const size_t failure = (size * nmemb) ? 0 : 1; + const size_t failure = (size && nmemb) ? 0 : 1; char *output = malloc(size * nmemb + 1); if(!output) { |