From 0f19719595e79516fdf57e59d0661260c23a1df4 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Fri, 4 Aug 2023 13:17:00 -0600 Subject: [PATCH] * Change x10host.com to alpineapp.email. * Increase in size of buffer for xoauth2 authentication codes. --- alpine/imap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/alpine/imap.c b/alpine/imap.c index 4a48e34..78081fb 100644 --- a/alpine/imap.c +++ b/alpine/imap.c @@ -567,7 +567,7 @@ oauth2_get_access_code(unsigned char *url, char *method, OAUTH2_S *oauth2, int * so_puts(in_store, _("

As a result of this process, you will get a client-id and a client-secret.")); so_puts(in_store, _(" Exit this screen, and from Alpine's Main Screen press S U to save these values permanently,")); so_puts(in_store, _(" then retry login into Gmail's server.")); - so_puts(in_store, _(" More detailed and up to date information on how to configure Alpine for Gmail can be found at the following link.")); + so_puts(in_store, _(" More detailed and up to date information on how to configure Alpine for Gmail can be found at the following link.")); } else{ so_puts(in_store, _("

In order to authorize Alpine to access your email, Alpine needs to open the following URL:")); @@ -2992,7 +2992,7 @@ oauth2_auth_answer(int cmd, MSGNO_S *msgmap, SCROLL_S *sparms) int q_line, flags; /* TRANSLATORS: user needs to input an access code from the server */ char *accesscodelabel = _("Copy and Paste Access Code"); - char token[MAILTMPLEN], prompt[MAILTMPLEN]; + char token[4*MAILTMPLEN], prompt[4*MAILTMPLEN]; ps_global->next_screen = SCREEN_FUN_NULL; @@ -3003,7 +3003,7 @@ oauth2_auth_answer(int cmd, MSGNO_S *msgmap, SCROLL_S *sparms) flags = OE_APPEND_CURRENT; sprintf(prompt, "%s: ", accesscodelabel); do { - rc = optionally_enter(token, q_line, 0, MAILTMPLEN, + rc = optionally_enter(token, q_line, 0, 4*MAILTMPLEN, prompt, NULL, NO_HELP, &flags); } while (rc != 0 && rc != 1); user.code = rc == 0 ? cpystr(token) : NULL; -- 2.11.4.GIT