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:
12043e3
)
fix compiler warning: enumerated type mixed with another type
author
Yang Tse
<yangsita@gmail.com>
Mon, 31 May 2010 15:11:51 +0000
(17:11 +0200)
committer
Yang Tse
<yangsita@gmail.com>
Mon, 31 May 2010 15:11:51 +0000
(17:11 +0200)
lib/ftp.c
patch
|
blob
|
history
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index 1a595cea2dd9c93abf3ff40287866b0efcc8c324..935ab31dc4994d105a6474c00f3d5c1897e98484 100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-3509,7
+3509,7
@@
static CURLcode init_wc_data(struct connectdata *conn)
path[0] = '\0';
}
else { /* only list */
- conn->data->set.wildcardmatch =
0L
;
+ conn->data->set.wildcardmatch =
FALSE
;
ret = ftp_parse_url_path(conn);
return ret;
}
diff --git
a/lib/url.c
b/lib/url.c
index 4d1632b66cfbe15db976a4110514ee508bc830cb..3b15f3c3bbe41c65118ed0335824388acb8619e3 100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-769,7
+769,7
@@
CURLcode Curl_init_userdefined(struct UserDefined *set)
res = setstropt(&set->str[STRING_SSL_CAPATH], (char *) CURL_CA_PATH);
#endif
- set->wildcardmatch =
0L
;
+ set->wildcardmatch =
FALSE
;
set->chunk_bgn = ZERO_NULL;
set->chunk_end = ZERO_NULL;