[client,common] use interruptible getline

This commit is contained in:
Armin Novak 2023-03-08 22:09:27 +01:00 committed by akallabeth
parent dc38b94263
commit 233ac929ea
1 changed files with 1 additions and 1 deletions

View File

@ -958,7 +958,7 @@ BOOL client_cli_get_aad_auth_code(freerdp* instance, const char* hostname, char*
hostname);
printf("Paste authorization code here: ");
if (GetLine(code, &len, stdin) < 0)
if (freerdp_interruptible_get_line(instance->context, code, &len, stdin) < 0)
return FALSE;
p = strpbrk(*code, "\r\n");
if (p)