diff options
Diffstat (limited to 'ssh/ssh_client.c')
-rw-r--r-- | ssh/ssh_client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh/ssh_client.c b/ssh/ssh_client.c index 3e4a7c6..f09aaac 100644 --- a/ssh/ssh_client.c +++ b/ssh/ssh_client.c @@ -10,7 +10,7 @@ static bool prompt_yn(const char *text) { - printf("%s", text); + printf("%s [y/n] ", text); fflush(stdout); bool response; @@ -37,7 +37,7 @@ static bool prompt_yn(const char *text) { break; } - printf("Please answer with 'y', 'n', 'yes' or 'no'. [y/n]"); + printf("Please answer with 'y', 'n', 'yes' or 'no'. [y/n] "); fflush(stdout); } @@ -51,7 +51,7 @@ static bool hostkey_checker(const unsigned char *hash, size_t length, void *user bool response = prompt_yn( "Does this hash match the one given to you by the server administrator, or by a\n" - "member that you trust and is already connected to the server? [y/n] "); + "member that you trust and is already connected to the server?"); if (!response) { printf("Disconnecting.\n"); } |