]> granicus.if.org Git - mutt/commitdiff
use REGCOMP() macro
authorMichael Elkins <me@sigpipe.org>
Sun, 18 Jul 2010 21:24:29 +0000 (14:24 -0700)
committerMichael Elkins <me@sigpipe.org>
Sun, 18 Jul 2010 21:24:29 +0000 (14:24 -0700)
init.c

diff --git a/init.c b/init.c
index 56664776b5af8a00763c321416214a15e0cfcaac..95ddfb59053c9b8f600ee3767bfb8f6a7bdca0aa 100644 (file)
--- a/init.c
+++ b/init.c
@@ -966,7 +966,7 @@ static int parse_attach_list (BUFFER *buf, BUFFER *s, LIST **ldata, BUFFER *err)
     tmpminor[len+2] = '\0';
 
     a->major_int = mutt_check_mime_type(a->major);
-    ret = regcomp(&a->minor_rx, tmpminor, REG_ICASE|REG_EXTENDED);
+    ret = REGCOMP(&a->minor_rx, tmpminor, 0);
 
     FREE(&tmpminor);