From 54aced17cd5f7fb9e3bcfa9038212e4439c6c296 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 3 Nov 2007 02:57:34 +0000 Subject: [PATCH] Work around bug in Gmail IMAP server. --- v7/src/imail/imap-response.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/v7/src/imail/imap-response.scm b/v7/src/imail/imap-response.scm index 19157b213..5af921aaf 100644 --- a/v7/src/imail/imap-response.scm +++ b/v7/src/imail/imap-response.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: imap-response.scm,v 1.51 2007/09/09 18:48:46 riastradh Exp $ +$Id: imap-response.scm,v 1.52 2007/11/03 02:57:34 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -81,7 +81,10 @@ USA. (define (read-flags-response port) (discard-known-char #\space port) - (read-list port read-flag)) + ;; Work around bug in Gmail IMAP server: FLAGS response improperly + ;; contains the \* flag. + ;;(read-list port read-flag) + (delq! '|\\*| (read-list port read-pflag))) (define (read-list-response port) (discard-known-char #\space port) -- 2.25.1