From 233ac929ea6b8b8a81242cd6213d031c9c8dc807 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 8 Mar 2023 22:09:27 +0100 Subject: [PATCH] [client,common] use interruptible getline --- client/common/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/common/client.c b/client/common/client.c index 0459566d6..708d9257e 100644 --- a/client/common/client.c +++ b/client/common/client.c @@ -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)