diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-02-19 11:47:04 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-02-19 11:47:04 +0000 |
commit | ec1b3513176b6bac4706de2dc6468dcff3a2e63f (patch) | |
tree | 2e53ccb56f4b00b96a6d1c09e754ab6b5dae0cb9 /lib | |
parent | 75fca27f8e6ae1147c81c8b8f4e12486a4abb2a4 (diff) |
fixed code to compile and removed one warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gtls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gtls.c b/lib/gtls.c index e4d43d6f8..daf69aafe 100644 --- a/lib/gtls.c +++ b/lib/gtls.c @@ -148,7 +148,7 @@ static CURLcode handshake(struct connectdata *conn, if(data->set.timeout) { /* get the strictest timeout of the ones converted to milliseconds */ - if(data->set.timeout) < timeout_ms) + if(data->set.timeout < timeout_ms) timeout_ms = data->set.timeout; } @@ -526,7 +526,6 @@ int Curl_gtls_shutdown(struct connectdata *conn, int sockindex) int retval = 0; struct SessionHandle *data = conn->data; int done = 0; - ssize_t nread; char buf[120]; /* This has only been tested on the proftpd server, and the mod_tls code |