aboutsummaryrefslogtreecommitdiff
path: root/util/event_notifier-posix.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-08-17 15:52:23 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-02 19:09:11 +0200
commitdfe9ea200ab1ba941149e90a6b3d220afc2dcc4c (patch)
tree5fb5ccd3195c92c7c8cd6fe0af38b23d82246177 /util/event_notifier-posix.c
parent5573f98fa66df133154529beaabf9d6a331d94bd (diff)
char-socket: update all ioc handlers when changing context
So far, tcp_chr_update_read_handler() only updated the read handler. Let's also update the hup handler. Factorize the code while at it. (note that s->ioc != NULL when s->connected) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20180817135224.22971-4-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/event_notifier-posix.c')
0 files changed, 0 insertions, 0 deletions