mirror of
https://github.com/curl/curl.git
synced 2026-07-26 17:47:28 +03:00
SMB: fix uninitialized local variable
Reported-by: Brian Carpenter
This commit is contained in:
parent
9f78b05443
commit
fa1512b2a0
1 changed files with 1 additions and 1 deletions
|
|
@ -648,7 +648,7 @@ static CURLcode smb_connection_state(struct connectdata *conn, bool *done)
|
|||
if(smbc->state == SMB_CONNECTING) {
|
||||
#ifdef USE_SSL
|
||||
if((conn->handler->flags & PROTOPT_SSL)) {
|
||||
bool ssl_done;
|
||||
bool ssl_done = FALSE;
|
||||
result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, &ssl_done);
|
||||
if(result && result != CURLE_AGAIN)
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue