Oops. A field like `sending_oob' in the Socket structure really
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 23 Oct 2000 12:31:54 +0000 (12:31 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 23 Oct 2000 12:31:54 +0000 (12:31 +0000)
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

winnet.c

index ad43853..a81ae98 100644 (file)
--- 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.