mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
Initialise (struct Socket_tag).connected in sk_register().
Again, the value could do with review. [originally from svn r5300]
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user