Dimitris Papastamos wrote:
> > +   for (bin = NULL, i = 0; i < LEN(filters); i++) {
> > +           if (regcomp(&regex, filters[i].regex,
> > +                       REG_NOSUB | REG_EXTENDED | REG_ICASE))
> > +                   continue;
> > +           if (!regexec(&regex, filename, 0, NULL, 0)) {
> > +                   bin = filters[i].bin;
> > +                   break;
> > +           }
> > +   }
> 
> I forgot an if (!bin) return NULL sort of thing here.

Heyho Dimitris,

thanks, fixed.

--Markus

Reply via email to