diff --git a/src/s_auth.c b/src/s_auth.c index 327c7cde..0ff5e191 100644 --- a/src/s_auth.c +++ b/src/s_auth.c @@ -117,7 +117,7 @@ typedef enum } ReportType; -#define sendheader(c, r) sendto_one_notice(c, HeaderMessages[(r)]) +#define sendheader(c, r) sendto_one_notice(c, "%s", HeaderMessages[(r)]) static rb_dlink_list auth_poll_list; static rb_bh *auth_heap; diff --git a/src/sslproc.c b/src/sslproc.c index 178fde32..832b37a5 100644 --- a/src/sslproc.c +++ b/src/sslproc.c @@ -455,12 +455,12 @@ ssl_process_cmd_recv(ssl_ctl_t * ctl) break; case 'I': ssl_ok = 0; - ilog(L_MAIN, cannot_setup_ssl); + ilog(L_MAIN, "%s", cannot_setup_ssl); sendto_realops_snomask(SNO_GENERAL, L_ALL, cannot_setup_ssl); case 'U': zlib_ok = 0; ssl_ok = 0; - ilog(L_MAIN, no_ssl_or_zlib); + ilog(L_MAIN, "%s", no_ssl_or_zlib); sendto_realops_snomask(SNO_GENERAL, L_ALL, no_ssl_or_zlib); ssl_killall(); break;