0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-05 10:08:36 +02:00

wsockd: conn_t.stream is not needed

This commit is contained in:
William Pitcock 2016-03-26 01:29:59 -05:00
parent 0a659bf0ab
commit 1fcba37404

View file

@ -82,7 +82,6 @@ typedef struct _conn
uint64_t plain_in;
uint64_t plain_out;
uint8_t flags;
void *stream;
} conn_t;
#define FLAG_CORK 0x01
@ -218,7 +217,6 @@ make_conn(mod_ctl_t * ctl, rb_fde_t *mod_fd, rb_fde_t *plain_fd)
conn->mod_fd = mod_fd;
conn->plain_fd = plain_fd;
conn->id = -1;
conn->stream = NULL;
rb_set_nb(mod_fd);
rb_set_nb(plain_fd);
return conn;