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
Родитель d0635e9d39
Коммит b5c41a473b
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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.