Fix some warnings when using -Wformat-security on Alpine.
This commit is contained in:
parent
4862f41a02
commit
32ea9d3d83
2 changed files with 3 additions and 3 deletions
|
@ -117,7 +117,7 @@ typedef enum
|
||||||
}
|
}
|
||||||
ReportType;
|
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_dlink_list auth_poll_list;
|
||||||
static rb_bh *auth_heap;
|
static rb_bh *auth_heap;
|
||||||
|
|
|
@ -455,12 +455,12 @@ ssl_process_cmd_recv(ssl_ctl_t * ctl)
|
||||||
break;
|
break;
|
||||||
case 'I':
|
case 'I':
|
||||||
ssl_ok = 0;
|
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);
|
sendto_realops_snomask(SNO_GENERAL, L_ALL, cannot_setup_ssl);
|
||||||
case 'U':
|
case 'U':
|
||||||
zlib_ok = 0;
|
zlib_ok = 0;
|
||||||
ssl_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);
|
sendto_realops_snomask(SNO_GENERAL, L_ALL, no_ssl_or_zlib);
|
||||||
ssl_killall();
|
ssl_killall();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue