Index: camel/providers/imap/camel-imap-command.c =================================================================== RCS file: /cvs/gnome/evolution-data-server/camel/providers/imap/camel-imap-command.c,v retrieving revision 1.76.2.2 diff -u -r1.76.2.2 camel/providers/imap/camel-imap-command.c --- camel/providers/imap/camel-imap-command.c 19 May 2006 15:21:37 -0000 1.76.2.2 +++ camel/providers/imap/camel-imap-command.c 22 May 2006 16:00:09 -0000 @@ -438,10 +438,9 @@ fulllen += str->len; g_ptr_array_add (data, str); - p = strrchr (str->str, '{'); - if (!p) + if (!(p = strrchr (str->str, '{')) || p[1] == '-') break; - + /* HACK ALERT: We scan the non-literal part of the string, looking for possible s expression braces. This assumes we're getting s-expressions, which we should be. This is so if we get a blank line after a literal, in an s-expression, we can keep going, since