]> git.ipfire.org Git - thirdparty/collectd.git/commit
Fix debug print of excluderegex if NULL 3893/head
authorSoner Tari <sonertari@gmail.com>
Mon, 19 Jul 2021 14:31:51 +0000 (17:31 +0300)
committerGitHub <noreply@github.com>
Mon, 19 Jul 2021 14:31:51 +0000 (17:31 +0300)
commit161728ebc9765fe72685b2ff9ad3c9e67ea393d2
treefee8229e675ac609edc546c6c935730ba91994de
parent1f3536d520cb286d6abac080c58587b720576f54
Fix debug print of excluderegex if NULL

excluderegex in logparser plugin is optional, hence can be NULL. If debug is enabled, debug print causes a CRITICAL error log like vfprintf %s NULL in "utils_match: match_create_callback: regex = %s, excluderegex = %s"
src/utils/match/match.c