aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-07-01 14:22:26 +0000
committerOmar Polo <op@omarpolo.com>2023-07-01 14:22:26 +0000
commite3ce19dcc10299ab7bd24b01b123e61bc0f44b4e (patch)
tree5c81752e2426209f736f44970216a20fe3e64967 /server.c
parent80192f45899c121c28afa65b7b2e7230f3b4fedf (diff)
change on fatalx -> log_warnx
we already check the validity of the format string, but still avoid a gratious fatal() at runtime.
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}