mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-26 09:42:25 +00:00
Oops. A field like `sending_oob' in the Socket structure really
deserves to be initialised to something sane at creation time. [originally from svn r748]
This commit is contained in:
parent
d0635e9d39
commit
b5c41a473b
1
winnet.c
1
winnet.c
@ -101,6 +101,7 @@ Socket sk_new(SockAddr addr, int port, sk_receiver_t receiver) {
|
|||||||
ret->head = ret->tail = NULL;
|
ret->head = ret->tail = NULL;
|
||||||
ret->writable = 1; /* to start with */
|
ret->writable = 1; /* to start with */
|
||||||
ret->in_oob = FALSE;
|
ret->in_oob = FALSE;
|
||||||
|
ret->sending_oob = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Open socket.
|
* Open socket.
|
||||||
|
Loading…
Reference in New Issue
Block a user