diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-23 15:30:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-23 15:30:12 +0000 |
commit | bd04c6fb6762a946ffa3e7332b78b536edd7fd36 (patch) | |
tree | c84a17d4dbb06bf5e67675230dbd3eff1fe19ddb /lib/netrc.c | |
parent | c5637baa06046d317c383d420f6cbc9ddb3b0870 (diff) | |
download | curl-bd04c6fb6762a946ffa3e7332b78b536edd7fd36.tar.gz |
curl_strequal() returns int, keep return variables in an int
Diffstat (limited to 'lib/netrc.c')
-rw-r--r-- | lib/netrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/netrc.c b/lib/netrc.c index c43fc9fe1..1496f3ff1 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -91,7 +91,7 @@ int Curl_parsenetrc(char *host, char state_login=0; /* Found a login keyword */ char state_password=0; /* Found a password keyword */ - char state_our_login=0; /* With specific_login, found *our* login name */ + int state_our_login=FALSE; /* With specific_login, found *our* login name */ #define NETRC DOT_CHAR "netrc" @@ -210,7 +210,7 @@ int Curl_parsenetrc(char *host, else if(strequal("machine", tok)) { /* ok, there's machine here go => */ state = HOSTFOUND; - state_our_login = 0; + state_our_login = FALSE; } break; } /* switch (state) */ |