aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-18 10:05:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-18 10:05:18 +0000
commite21926f7f081b0eb18962374770e91648a8d5fc3 (patch)
tree1a09314288f8e2230b42c368435c4aad6a2d53a3
parente452f467d46d06cb6eee7d314ee5d78efd4e8e9c (diff)
connection timeout comparison fix by Emil
-rw-r--r--lib/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 34fc1e844..b1a2560b2 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -361,7 +361,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
/* get the most strict timeout of the ones converted to milliseconds */
if(data->set.timeout &&
- (data->set.timeout>data->set.connecttimeout))
+ (data->set.timeout < data->set.connecttimeout))
timeout_ms = data->set.timeout*1000;
else
timeout_ms = data->set.connecttimeout*1000;