mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05:00
The logging module now contains a local copy of cfg too.
[originally from svn r2566]
This commit is contained in:
@ -2407,7 +2407,7 @@ int main(int argc, char **argv)
|
||||
show_mouseptr(inst, 1);
|
||||
|
||||
inst->term = term_init(&cfg, inst);
|
||||
inst->logctx = log_init(inst);
|
||||
inst->logctx = log_init(inst, &cfg);
|
||||
term_provide_logctx(inst->term, inst->logctx);
|
||||
|
||||
inst->back = &pty_backend;
|
||||
|
@ -544,7 +544,7 @@ int main(int argc, char **argv)
|
||||
/*
|
||||
* Start up the connection.
|
||||
*/
|
||||
logctx = log_init(NULL);
|
||||
logctx = log_init(NULL, &cfg);
|
||||
{
|
||||
char *error;
|
||||
char *realhost;
|
||||
|
Reference in New Issue
Block a user