зеркало из https://github.com/github/putty.git
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:
Родитель
63784f3f9a
Коммит
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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче