X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fimap.c;h=022415ffb7cea26ad4eb527c032a4d19a134370e;hb=d6988dab6bd378ccdf0f17aaa16de8aee1ceaf43;hp=69d35d624da15d7b5ac2ace36fadf6c72dde9e0c;hpb=ccdd901a5b45890fffa6a1173dbb50a4c46971e1;p=apps%2Fmadmutt.git diff --git a/imap/imap.c b/imap/imap.c index 69d35d6..022415f 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -1257,8 +1257,6 @@ static int do_search (const pattern_t* search, int allpats) * match types, and does a better job (eg server doesn't support regexps). */ static int imap_compile_search (const pattern_t* pat, BUFFER* buf) { - char term[STRING]; - if (! do_search (pat, 0)) return 0; @@ -1291,6 +1289,7 @@ static int imap_compile_search (const pattern_t* pat, BUFFER* buf) mutt_buffer_addch (buf, ')'); } } else { + char term[STRING]; char *delim; switch (pat->op) {