diff options
author | Yang Tse <yangsita@gmail.com> | 2010-02-23 16:07:54 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-02-23 16:07:54 +0000 |
commit | 4186b5b41f08479b84caeca4c0e0f2dd57ae5c12 (patch) | |
tree | ac3b6e5700814d6efdf2806dcf22de2594bc8937 /lib/url.c | |
parent | 8904064c3a06416d87e81137a53366fd0723e879 (diff) | |
download | curl-4186b5b41f08479b84caeca4c0e0f2dd57ae5c12.tar.gz |
fix compiler warning
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4227,7 +4227,7 @@ static CURLcode parse_remote_port(struct SessionHandle *data, /* we need to create new URL with the new port number */ char *url; /* FTPS connections have the FTP bit set too, so they match as well */ - bool isftp = (bool)(conn->protocol & PROT_FTP); + bool isftp = (bool)(0 != (conn->protocol & PROT_FTP)); /* * This synthesized URL isn't always right--suffixes like ;type=A |