summaryrefslogtreecommitdiffstats
path: root/mail/mail-notification/files/patch-src_mn-imap-mailbox.c
blob: 7856dd51e2086034be202cc003ab90747025f6d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/mn-imap-mailbox.c.orig  Tue Aug  9 22:01:56 2005
+++ src/mn-imap-mailbox.c   Wed Jan 25 19:22:48 2006
@@ -1646,7 +1646,12 @@
      */
     if (mn_ascii_validate(input))
       {
-   if (g_str_has_prefix(input, "+ "))
+   if (! strcmp(input, "+"))
+     {
+       response = g_new0(MNClientSessionResponse, 1);
+       response->continuation = g_strdup("");
+     }
+   else if (g_str_has_prefix(input, "+ "))
      {
        response = g_new0(MNClientSessionResponse, 1);
        response->continuation = g_strdup(input + 2);