Browse Source

* filter.c: fix f2b_log_msg args

master
Alex 'AdUser' Z 9 years ago
parent
commit
4a866a1547
  1. 2
      src/filter.c

2
src/filter.c

@ -44,7 +44,7 @@ f2b_filter_load_file(f2b_filter_t *filter, const char *path) {
break; break;
default: default:
if (strstr(p, HOST_TOKEN) == NULL) { if (strstr(p, HOST_TOKEN) == NULL) {
f2b_log_msg(log_warn, "pattern at %s:%d don't have '%s' marker, ignored", HOST_TOKEN); f2b_log_msg(log_warn, "pattern at %s:%d don't have '%s' marker, ignored", path, linenum, HOST_TOKEN);
continue; continue;
} }
if (!filter->append(filter->cfg, p)) { if (!filter->append(filter->cfg, p)) {

Loading…
Cancel
Save