diff --git a/lib/ssh.c b/lib/ssh.c index e92916e9d..723138b69 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -1886,7 +1886,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block) sshc->readdir_linkPath = NULL; /* get room for the filename and extra output */ - sshc->readdir_totalLen += 4 + sshc->readdir_len: + sshc->readdir_totalLen += 4 + sshc->readdir_len; new_readdir_line = realloc(sshc->readdir_line, sshc->readdir_totalLen); if(!new_readdir_line) { Curl_safefree(sshc->readdir_line);