mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
wsockd: conn_t.stream is not needed
This commit is contained in:
parent
0a659bf0ab
commit
1fcba37404
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue