From: Jacob Nevins Date: Mon, 14 Feb 2005 15:30:09 +0000 (+0000) Subject: Initialise (struct Socket_tag).connected in sk_register(). X-Git-Tag: r8855-g4f798d~774 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=25c5d56e25d86d300a41a7ef46883b560e901ac7;p=PuTTY_svn.git Initialise (struct Socket_tag).connected in sk_register(). Again, the value could do with review. git-svn-id: http://svn.tartarus.org/sgt/putty@5300 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/uxnet.c b/unix/uxnet.c index 0654050f..addfc769 100644 --- a/unix/uxnet.c +++ b/unix/uxnet.c @@ -418,6 +418,7 @@ Socket sk_register(OSSocket sockfd, Plug plug) ret->oobpending = FALSE; ret->listener = 0; ret->addr = NULL; + ret->connected = 1; ret->s = sockfd;