From 9090c7025379c04cb65e9bc36364a865cf591eca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Mon, 26 Jul 2010 06:08:06 +0000 Subject: [PATCH] Fix IMAP-List command * 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/citadel/modules/imap/imap_tools.c b/citadel/modules/imap/imap_tools.c index 9cbad8b41..23e27419a 100644 --- a/citadel/modules/imap/imap_tools.c +++ b/citadel/modules/imap/imap_tools.c @@ -961,7 +961,8 @@ star: } } - return (*text == '\0'); + if ((*text == '\0') && (*p == '\0')) return WILDMAT_TRUE; + else return WILDMAT_FALSE; } -- 2.30.2