projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8904064
)
fix compiler warning
author
Yang Tse
<yangsita@gmail.com>
Tue, 23 Feb 2010 16:07:54 +0000
(16:07 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Tue, 23 Feb 2010 16:07:54 +0000
(16:07 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
0b1446c
..
c67e8a6
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-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