From 3c382b5e60af09dab5f4fe191d4206a36bc1f9c1 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Apr 2016 12:09:33 +0200 Subject: [PATCH] bind plugin: len is unsigned [src/bind.c:280]: (style) Checking if unsigned variable 'len' is less than zero. --- src/bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bind.c b/src/bind.c index f2cd1677..e6855d22 100644 --- a/src/bind.c +++ b/src/bind.c @@ -277,7 +277,7 @@ static size_t bind_curl_callback (void *buf, size_t size, /* {{{ */ { size_t len = size * nmemb; - if (len <= 0) + if (len == 0) return (len); if ((bind_buffer_fill + len) >= bind_buffer_size) -- 2.30.2