Merge pull request #6208 from akallabeth/accept_cert_io
Read newline from stdio on certificate accept
This commit is contained in:
commit
0cb7ada6de
@ -467,14 +467,17 @@ static DWORD client_cli_accept_certificate(rdpSettings* settings)
|
||||
{
|
||||
case 'y':
|
||||
case 'Y':
|
||||
fgetc(stdin);
|
||||
return 1;
|
||||
|
||||
case 't':
|
||||
case 'T':
|
||||
fgetc(stdin);
|
||||
return 2;
|
||||
|
||||
case 'n':
|
||||
case 'N':
|
||||
fgetc(stdin);
|
||||
return 0;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user