[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);
|
hostname);
|
||||||
printf("Paste authorization code here: ");
|
printf("Paste authorization code here: ");
|
||||||
|
|
||||||
if (GetLine(code, &len, stdin) < 0)
|
if (freerdp_interruptible_get_line(instance->context, code, &len, stdin) < 0)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
p = strpbrk(*code, "\r\n");
|
p = strpbrk(*code, "\r\n");
|
||||||
if (p)
|
if (p)
|
||||||
|
Loading…
Reference in New Issue
Block a user