From 098a55fd1d209aa513687b81f746717057495484 Mon Sep 17 00:00:00 2001 From: yrutschle Date: Sun, 19 Sep 2021 15:14:38 +0200 Subject: [PATCH] new logging system: now with message classes --- sslh-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sslh-main.c b/sslh-main.c index bb737f5..99d6297 100644 --- a/sslh-main.c +++ b/sslh-main.c @@ -104,7 +104,7 @@ static void setup_regex_probe(struct sslhcfg_protocols_item *p) &error, &error_offset, NULL); if (!pattern_list[i]) { pcre2_get_error_message(error, err_str, sizeof(err_str)); - fprintf(stderr, "compiling pattern /%s/:%d:%s at offset %ld\n", + print_message(msg_config_error, "compiling pattern /%s/:%d:%s at offset %ld\n", p->regex_patterns[i], error, err_str, error_offset); exit(1); }