aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2008-01-03 15:18:27 +0000
committerGisle Vanem <gvanem@broadpark.no>2008-01-03 15:18:27 +0000
commit083d3190e50db30405c8ac37aa97fc8d7abb436d (patch)
treebc500256ee72e1a095b7ca0a134ee62a4b76cf31 /lib
parent6787d1ed3517ae5930068f0cf291d1cb98de786c (diff)
'false' and 'true' are not built-ins on most compilers.
Use TRUE/FALSE from setup_once.h.
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c4
-rw-r--r--lib/url.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 588cd5bce..ea22cabe6 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1888,11 +1888,11 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn,
break;
case CURLPROXY_SOCKS4:
result = Curl_SOCKS4(conn->proxyuser, newhost, newport,
- SECONDARYSOCKET, conn, false);
+ SECONDARYSOCKET, conn, FALSE);
break;
case CURLPROXY_SOCKS4A:
result = Curl_SOCKS4(conn->proxyuser, newhost, newport,
- SECONDARYSOCKET, conn, true);
+ SECONDARYSOCKET, conn, TRUE);
break;
default:
failf(data, "unknown proxytype option given");
diff --git a/lib/url.c b/lib/url.c
index a205f9a7b..550cb2113 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2644,11 +2644,11 @@ static CURLcode ConnectPlease(struct SessionHandle *data,
break;
case CURLPROXY_SOCKS4:
result = Curl_SOCKS4(conn->proxyuser, conn->host.name,
- conn->remote_port, FIRSTSOCKET, conn, false);
+ conn->remote_port, FIRSTSOCKET, conn, FALSE);
break;
case CURLPROXY_SOCKS4A:
result = Curl_SOCKS4(conn->proxyuser, conn->host.name,
- conn->remote_port, FIRSTSOCKET, conn, true);
+ conn->remote_port, FIRSTSOCKET, conn, TRUE);
break;
default:
failf(data, "unknown proxytype option given");