summaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-08 19:34:58 +0000
committerYang Tse <yangsita@gmail.com>2008-09-08 19:34:58 +0000
commit2ef72f7abb0f955d08a7f26d1a65a21be26b1af9 (patch)
tree22b8d1aaea77650ea5aa901d953f805b46746aab /lib/connect.c
parenteae27d178829e0a2529c6e51a1b9b7acb08f7d14 (diff)
downloadcurl-2ef72f7abb0f955d08a7f26d1a65a21be26b1af9.tar.gz
fix compiler warning
Diffstat (limited to 'lib/connect.c')
-rw-r--r--lib/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 860111f56..3773b8280 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -578,7 +578,7 @@ static bool trynextip(struct connectdata *conn,
conn->sock[sockindex] = sockfd;
conn->ip_addr = ai;
- return Curl_store_ip_addr(conn) != CURLE_OK;
+ return (bool)(Curl_store_ip_addr(conn) != CURLE_OK);
}
ai = ai->ai_next;
}