diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/fetch.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/fetch.c b/content/fetch.c index 1ea20a8a0..a468a05a9 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -863,11 +863,10 @@ bool fetch_can_fetch(const char *url) { unsigned int i; const char *semi; - unsigned int len; + size_t len; curl_version_info_data *data; - semi = strchr(url, ':'); - if (!semi) + if ((semi = strchr(url, ':')) == NULL) return false; len = semi - url; |