Fix IMAP-List command
authorWilfried Göesgens <willi@citadel.org>
Mon, 26 Jul 2010 06:08:06 +0000 (06:08 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 26 Jul 2010 06:08:06 +0000 (06:08 +0000)
* imap_is_message_set (): here we have more abort conditions, which we need to put into account when drawing our final result

citadel/modules/imap/imap_tools.c

index 9cbad8b419f96d8fe6d9bea15c73ff01e1c60ee8..23e27419aa4c35f4a55a98a676e5d723399cb5cb 100644 (file)
@@ -961,7 +961,8 @@ star:
                }
        }
 
-       return (*text == '\0');
+       if ((*text == '\0') && (*p == '\0')) return WILDMAT_TRUE;
+       else return WILDMAT_FALSE;
 }