X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/ff677091f222e8175b03a7ff03d4e56bcf93dc24..92cfdc708c5db1d0ed679d262e943fffe20f680b:/unix/uxnet.c diff --git a/unix/uxnet.c b/unix/uxnet.c index 05f9f251..0654050f 100644 --- a/unix/uxnet.c +++ b/unix/uxnet.c @@ -678,6 +678,7 @@ Socket sk_newlistener(char *srcaddr, int port, Plug plug, int local_host_only, i ret->oobpending = FALSE; ret->listener = 1; ret->addr = NULL; + ret->connected = 0; /* * Translate address_family from platform-independent constants