From e3ce19dcc10299ab7bd24b01b123e61bc0f44b4e Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sat, 1 Jul 2023 14:22:26 +0000 Subject: change on fatalx -> log_warnx we already check the validity of the format string, but still avoid a gratious fatal() at runtime. --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.c') diff --git a/server.c b/server.c index 13024cb..235aa6e 100644 --- a/server.c +++ b/server.c @@ -485,7 +485,7 @@ fmtbuf(char *buf, size_t buflen, const char *fmt, struct client *c, strlcat(buf, c->domain, buflen); break; default: - fatalx("%s: unknown fmt specifier %c", + log_warnx("%s: unknown fmt specifier %c", __func__, *fmt); } } -- cgit v1.2.3