зеркало из https://github.com/github/putty.git
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:
Родитель
d0635e9d39
Коммит
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->writable = 1; /* to start with */
|
||||
ret->in_oob = FALSE;
|
||||
ret->sending_oob = 0;
|
||||
|
||||
/*
|
||||
* Open socket.
|
||||
|
|
Загрузка…
Ссылка в новой задаче