1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +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:
Simon Tatham 2000-10-23 12:31:54 +00:00
parent d0635e9d39
commit b5c41a473b

View File

@ -101,6 +101,7 @@ Socket sk_new(SockAddr addr, int port, sk_receiver_t receiver) {
ret->head = ret->tail = NULL;
ret->writable = 1; /* to start with */
ret->in_oob = FALSE;
ret->sending_oob = 0;
/*
* Open socket.