fixed code to compile and removed one warning
This commit is contained in:
parent
75fca27f8e
commit
ec1b351317
@ -148,7 +148,7 @@ static CURLcode handshake(struct connectdata *conn,
|
|||||||
|
|
||||||
if(data->set.timeout) {
|
if(data->set.timeout) {
|
||||||
/* get the strictest timeout of the ones converted to milliseconds */
|
/* 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;
|
timeout_ms = data->set.timeout;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -526,7 +526,6 @@ int Curl_gtls_shutdown(struct connectdata *conn, int sockindex)
|
|||||||
int retval = 0;
|
int retval = 0;
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
int done = 0;
|
int done = 0;
|
||||||
ssize_t nread;
|
|
||||||
char buf[120];
|
char buf[120];
|
||||||
|
|
||||||
/* This has only been tested on the proftpd server, and the mod_tls code
|
/* This has only been tested on the proftpd server, and the mod_tls code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user