diff options
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 1e22b2646..8d2d0db82 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -2012,7 +2012,7 @@ static bool is_absolute_url(const char *url) char prot[16]; /* URL protocol string storage */ char letter; /* used for a silly sscanf */ - return 2 == sscanf(url, "%15[^?&/:]://%c", prot, &letter); + return (bool)(2 == sscanf(url, "%15[^?&/:]://%c", prot, &letter)); } /* |