Fix log-filter
in opts/log.c
This commit is contained in:
parent
d5571f095d
commit
a08904688e
@ -1,4 +1,5 @@
|
||||
#include "opts/log.h"
|
||||
#include "opts/opts.h"
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <string.h>
|
||||
@ -28,7 +29,7 @@ bool filter_log(const char *filename)
|
||||
|
||||
const char *ptr = log_options.filter;
|
||||
do {
|
||||
const char *next = strchr(ptr, ',');
|
||||
const char *next = strchr(ptr, OPTION_VALUE_LIST_SEP[0]);
|
||||
if (!next)
|
||||
next = ptr + strlen(ptr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user