mirror of
https://github.com/skeeto/endlessh.git
synced 2025-12-08 14:13:23 +00:00
Fix format string defect in log message (#63)
This commit is contained in:
committed by
Christopher Wellons
parent
a5913cbbb2
commit
1ecaafd577
@@ -504,7 +504,7 @@ static void
|
|||||||
config_log(const struct config *c)
|
config_log(const struct config *c)
|
||||||
{
|
{
|
||||||
logmsg(log_info, "Port %d", c->port);
|
logmsg(log_info, "Port %d", c->port);
|
||||||
logmsg(log_info, "Delay %ld", c->delay);
|
logmsg(log_info, "Delay %d", c->delay);
|
||||||
logmsg(log_info, "MaxLineLength %d", c->max_line_length);
|
logmsg(log_info, "MaxLineLength %d", c->max_line_length);
|
||||||
logmsg(log_info, "MaxClients %d", c->max_clients);
|
logmsg(log_info, "MaxClients %d", c->max_clients);
|
||||||
logmsg(log_info, "BindFamily %s",
|
logmsg(log_info, "BindFamily %s",
|
||||||
|
|||||||
Reference in New Issue
Block a user