mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-11 16:23:55 -05:00
Make the plug_log type code into an enum.
Those magic numbers have been annoying for ages. Now they have names that I havea fighting chance of remembering the meanings of.
This commit is contained in:
@ -447,7 +447,7 @@ static Plug *server_conn_plug(
|
||||
&inst->ap, &inst->logpolicy, &unix_live_sftpserver_vt);
|
||||
}
|
||||
|
||||
static void server_log(Plug *plug, int type, SockAddr *addr, int port,
|
||||
static void server_log(Plug *plug, PlugLogType type, SockAddr *addr, int port,
|
||||
const char *error_msg, int error_code)
|
||||
{
|
||||
log_to_stderr((unsigned)-1, error_msg);
|
||||
|
Reference in New Issue
Block a user