mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -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:
parent
01c4c363d9
commit
680869b866
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user