Skip to content

Commit

Permalink
conf: use case-independent match for Filtertype parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
rofl0r committed Oct 13, 2023
1 parent 2935519 commit 1289d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ static HANDLE_FUNC (handle_filtertype)
if (!type) return -1;

for(i=0;i<sizeof(ftmap)/sizeof(ftmap[0]);++i)
if(!strcmp(ftmap[i].type, type))
if(!strcasecmp(ftmap[i].type, type))
conf->filter_opts |= ftmap[i].flag;

safefree (type);
Expand Down

0 comments on commit 1289d8a

Please sign in to comment.