aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-08 19:34:58 +0000
committerYang Tse <yangsita@gmail.com>2008-09-08 19:34:58 +0000
commit2ef72f7abb0f955d08a7f26d1a65a21be26b1af9 (patch)
tree22b8d1aaea77650ea5aa901d953f805b46746aab /lib/transfer.c
parenteae27d178829e0a2529c6e51a1b9b7acb08f7d14 (diff)
fix compiler warning
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c2
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));
}
/*