summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e88be91)
raw | patch | inline | side by side (parent: e88be91)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 10:02:14 +0000 (12:02 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 10:02:14 +0000 (12:02 +0200) |
[src/curl_xml.c:117]: (style) Checking if unsigned variable 'len' is less than zero.
src/curl_xml.c | patch | blob | history |
diff --git a/src/curl_xml.c b/src/curl_xml.c
index 58cb42db7e20daf818c82253fb7e7b17e03696fb..86cc87f79f5a019c3be2d3ec62da7c88b8f866bc 100644 (file)
--- a/src/curl_xml.c
+++ b/src/curl_xml.c
return (0);
}
- if (len <= 0)
+ if (len == 0)
return (len);
if ((db->buffer_fill + len) >= db->buffer_size)