mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 03:53:01 -05:00
Initialise (struct Socket_tag).connected in sk_newlistener() since Valgrind
complained. (I _think_ this is the correct initialisation.) [originally from svn r5299]
This commit is contained in:
parent
63784f3f9a
commit
01c4c363d9
@ -678,6 +678,7 @@ Socket sk_newlistener(char *srcaddr, int port, Plug plug, int local_host_only, i
|
|||||||
ret->oobpending = FALSE;
|
ret->oobpending = FALSE;
|
||||||
ret->listener = 1;
|
ret->listener = 1;
|
||||||
ret->addr = NULL;
|
ret->addr = NULL;
|
||||||
|
ret->connected = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Translate address_family from platform-independent constants
|
* Translate address_family from platform-independent constants
|
||||||
|
Loading…
x
Reference in New Issue
Block a user