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:
66c5076
)
connect.c: fix compiler warning 'enumerated type is mixed with another type'
author
Yang Tse
<yangsita@gmail.com>
Tue, 13 Dec 2011 15:18:08 +0000
(16:18 +0100)
committer
Yang Tse
<yangsita@gmail.com>
Tue, 13 Dec 2011 15:18:08 +0000
(16:18 +0100)
lib/connect.c
patch
|
blob
|
history
diff --git
a/lib/connect.c
b/lib/connect.c
index
906fd9d
..
bcd5384
100644
(file)
--- a/
lib/connect.c
+++ b/
lib/connect.c
@@
-240,8
+240,8
@@
static CURLcode bindlocal(struct connectdata *conn,
int error;
char myhost[256] = "";
int done = 0; /* -1 for error, 1 for address found */
-
int
is_interface = FALSE;
-
int
is_host = FALSE;
+
bool
is_interface = FALSE;
+
bool
is_host = FALSE;
static const char *if_prefix = "if!";
static const char *host_prefix = "host!";