mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-10 15:53:47 -05:00
Darek Olszewski points out that telnet->ldisc is never initialised
to NULL. [originally from svn r4888]
This commit is contained in:
1
telnet.c
1
telnet.c
@ -703,6 +703,7 @@ static const char *telnet_init(void *frontend_handle, void **backend_handle,
|
|||||||
telnet->term_width = telnet->cfg.width;
|
telnet->term_width = telnet->cfg.width;
|
||||||
telnet->term_height = telnet->cfg.height;
|
telnet->term_height = telnet->cfg.height;
|
||||||
telnet->state = TOP_LEVEL;
|
telnet->state = TOP_LEVEL;
|
||||||
|
telnet->ldisc = NULL;
|
||||||
*backend_handle = telnet;
|
*backend_handle = telnet;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user