mirror of
https://github.com/curl/curl.git
synced 2026-07-22 23:37:17 +03:00
ssh: fix 'left' may be used uninitialized
follow-up to f31760e63b
Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/pull/1495#issuecomment-303982793
This commit is contained in:
parent
8ab22a7453
commit
59cc0234e5
1 changed files with 1 additions and 1 deletions
|
|
@ -2824,7 +2824,7 @@ static CURLcode ssh_block_statemach(struct connectdata *conn,
|
|||
|
||||
while((sshc->state != SSH_STOP) && !result) {
|
||||
bool block;
|
||||
time_t left;
|
||||
time_t left = 1000;
|
||||
struct timeval now = Curl_tvnow();
|
||||
|
||||
result = ssh_statemach_act(conn, &block);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue