mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Darek Olszewski points out that telnet->ldisc is never initialised
to NULL. [originally from svn r4888]
This commit is contained in:
parent
1fd5bcc9fa
commit
0e7a8d538f
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;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user