diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-05-25 13:01:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-25 13:02:29 +0200 |
commit | 59cc0234e5be31d40aa91951984e8e00ca54f0ec (patch) | |
tree | d40cb0a6b2f11524917508f3d99dde3de56bfe6c | |
parent | 8ab22a74533acee61af31c48e75269822f408cb4 (diff) |
ssh: fix 'left' may be used uninitialized
follow-up to f31760e63b4e
Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/pull/1495#issuecomment-303982793
-rw-r--r-- | lib/ssh.c | 2 |
1 files changed, 1 insertions, 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); |