From: simon Date: Mon, 23 Oct 2000 12:31:54 +0000 (+0000) Subject: Oops. A field like `sending_oob' in the Socket structure really X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/33232c8fb2ed915484358cf5c758419a376fae8b Oops. A field like `sending_oob' in the Socket structure really deserves to be initialised to something sane at creation time. git-svn-id: svn://svn.tartarus.org/sgt/putty@748 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/winnet.c b/winnet.c index ad43853d..a81ae98d 100644 --- a/winnet.c +++ b/winnet.c @@ -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.