From ea98c232211430247553c404d20911af2158ef73 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 6 Feb 2004 19:12:34 +0000 Subject: Forget the need_id, not the userid. Fixes bug #53908. 2004-02-06 Jeffrey Stedfast * camel-gpg-context.c (gpg_ctx_parse_status): Forget the need_id, not the userid. Fixes bug #53908. svn path=/trunk/; revision=24658 --- camel/camel-gpg-context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/camel-gpg-context.c') diff --git a/camel/camel-gpg-context.c b/camel/camel-gpg-context.c index b6ff6cd916..4a0e1151c9 100644 --- a/camel/camel-gpg-context.c +++ b/camel/camel-gpg-context.c @@ -789,7 +789,7 @@ gpg_ctx_parse_status (struct _GpgCtx *gpg, CamelException *ex) } else if (!strncmp (status, "BAD_PASSPHRASE", 14)) { gpg->bad_passwds++; - camel_session_forget_password (gpg->session, NULL, gpg->userid, ex); + camel_session_forget_password (gpg->session, NULL, gpg->need_id, ex); if (gpg->bad_passwds == 3) { camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE, -- cgit