mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
SMB: fix uninitialized local variable
Reported-by: Brian Carpenter
This commit is contained in:
parent
9f78b05443
commit
fa1512b2a0
@ -648,7 +648,7 @@ static CURLcode smb_connection_state(struct connectdata *conn, bool *done)
|
|||||||
if(smbc->state == SMB_CONNECTING) {
|
if(smbc->state == SMB_CONNECTING) {
|
||||||
#ifdef USE_SSL
|
#ifdef USE_SSL
|
||||||
if((conn->handler->flags & PROTOPT_SSL)) {
|
if((conn->handler->flags & PROTOPT_SSL)) {
|
||||||
bool ssl_done;
|
bool ssl_done = FALSE;
|
||||||
result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, &ssl_done);
|
result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, &ssl_done);
|
||||||
if(result && result != CURLE_AGAIN)
|
if(result && result != CURLE_AGAIN)
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user