]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Oops. A field like `sending_oob' in the Socket structure really
authorSimon Tatham <anakin@pobox.com>
Mon, 23 Oct 2000 12:31:54 +0000 (12:31 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 23 Oct 2000 12:31:54 +0000 (12:31 +0000)
deserves to be initialised to something sane at creation time.

[originally from svn r748]

winnet.c

index ad43853d455f8a50fb1a52ae1302a468849429e6..a81ae98df7e21615559f6301049141c8b497b0e8 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.