aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'chardev/char-udp.c')
-rw-r--r--chardev/char-udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chardev/char-udp.c b/chardev/char-udp.c
index 4ee11d3ebf..106dee1a29 100644
--- a/chardev/char-udp.c
+++ b/chardev/char-udp.c
@@ -110,7 +110,7 @@ static void udp_chr_update_read_handler(Chardev *chr,
chr->gsource = io_add_watch_poll(chr, s->ioc,
udp_chr_read_poll,
udp_chr_read, chr,
- context);
+ chr->gcontext);
}
}