From c9fc05a6bfdfd50231d58fe572e524108089c98d Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 26 Jan 2020 02:34:43 -0700 Subject: * Add support for the OAUTHBEARER authentication method in Gmail. Thanks to Alexander Perlis for suggesting it and explaining how the method works. --- imap/src/c-client/imap4r1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'imap/src/c-client/imap4r1.c') diff --git a/imap/src/c-client/imap4r1.c b/imap/src/c-client/imap4r1.c index 97a43a86..86354d40 100644 --- a/imap/src/c-client/imap4r1.c +++ b/imap/src/c-client/imap4r1.c @@ -1,7 +1,7 @@ /* - * Copyright 2016-2018 Eduardo Chappa + * Copyright 2016-2020 Eduardo Chappa * - * Last Edited: May 5, 2018 Eduardo Chappa + * Last Edited: Jan 26, 2020 Eduardo Chappa * */ /* ======================================================================== @@ -1180,7 +1180,7 @@ long imap_auth (MAILSTREAM *stream,NETMBX *mb,char *tmp,char *usr) /* hide client authentication responses */ if (!(at->flags & AU_SECURE)) LOCAL->sensitive = T; ok = (*at->client) (imap_challenge,imap_response,"imap",mb,stream, - &trial,usr); + net_port(LOCAL->netstream),&trial,usr); LOCAL->sensitive = NIL; /* unhide */ /* make sure have a response */ if (!(reply = &LOCAL->reply)->tag) -- cgit v1.2.3-54-g00ecf