Skip to content

Commit 5fb5f99

Browse files
committed
client session ssh BUGFIX flush after print without newline
Fixes CESNET/netopeer2#769
1 parent 80951fc commit 5fb5f99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/session_client_ssh.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ sshauth_hostkey_check(const char *hostname, ssh_session session, void *UNUSED(pr
437437
ERR("Writing into output failed (%s).", feof(out) ? "EOF" : strerror(errno));
438438
goto error;
439439
}
440+
fflush(out);
440441
}
441442
} while (strcmp(answer, "yes") && strcmp(answer, "no"));
442443

0 commit comments

Comments
 (0)