mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Add a Config * argument to ldisc_create(), and use it in place of the global
cfg throughout ldisc.c. Not tested other than on Mac, but all other ports just pass &cfg as this argument for now. [originally from svn r2250]
This commit is contained in:
@ -475,7 +475,7 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
back->provide_logctx(backhandle, logctx);
|
||||
ldisc = ldisc_create(NULL, back, backhandle, NULL);
|
||||
ldisc = ldisc_create(&cfg, NULL, back, backhandle, NULL);
|
||||
sfree(realhost);
|
||||
}
|
||||
connopen = 1;
|
||||
|
Reference in New Issue
Block a user