1
0
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:
Ben Harris
2002-11-23 20:02:38 +00:00
parent c0b887a0a2
commit d60ea36673
7 changed files with 24 additions and 21 deletions

View File

@ -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;