From: Michael Elkins Date: Sun, 18 Jul 2010 21:24:29 +0000 (-0700) Subject: use REGCOMP() macro X-Git-Tag: mutt-1-5-21-rel~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b183f70ffa30bf6ab6254817679f25b003fb325e;p=mutt use REGCOMP() macro --- diff --git a/init.c b/init.c index 56664776..95ddfb59 100644 --- 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);