diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-03 15:54:57 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-04 17:00:12 +0100 |
commit | 0d92580e5f7c04f19588f3bee6a0daafea05521b (patch) | |
tree | 8801d01d8f64eaa03c45045ff1051f77994d83cc /relay.c | |
parent | cf9c6c30f1328f8804f55896b3fcfcd1f5ae0212 (diff) |
fix relay ustream initialization
Diffstat (limited to 'relay.c')
-rw-r--r-- | relay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,10 +166,10 @@ void uh_relay_open(struct client *cl, struct relay *r, int fd, int pid) struct ustream *us = &r->sfd.stream; r->cl = cl; - ustream_fd_init(&r->sfd, fd); us->notify_read = relay_read_cb; us->notify_state = relay_state_cb; us->string_data = true; + ustream_fd_init(&r->sfd, fd); r->proc.pid = pid; r->proc.cb = relay_proc_cb; |