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:
Jacob Nevins 2005-02-14 15:03:32 +00:00
Родитель 63784f3f9a
Коммит 01c4c363d9
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

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