summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bed961a)
raw | patch | inline | side by side (parent: bed961a)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 10:07:23 +0000 (12:07 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 10:07:33 +0000 (12:07 +0200) |
[src/curl.c:98]: (style) Checking if unsigned variable 'len' is less than zero.
src/curl.c | patch | blob | history |
diff --git a/src/curl.c b/src/curl.c
index 4bb58e2c9925e5984d340fda2105b6a44f0278fd..2ed09225290146418215b4a3b801c5da5545149a 100644 (file)
--- a/src/curl.c
+++ b/src/curl.c
size_t len;
len = size * nmemb;
- if (len <= 0)
+ if (len == 0)
return (len);
wp = user_data;