diff options
-rw-r--r-- | src/plugins/regexp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index 3613b3f62..df5bba08a 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -244,7 +244,9 @@ find_raw_header_pos (const char *headers, const char *headerv) } } } - p ++; + if (*p != '\0') { + p ++; + } } return NULL; |