mirror of https://github.com/FreeRDP/FreeRDP
[client,common] use interruptible getline
This commit is contained in:
parent
dc38b94263
commit
233ac929ea
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue