From 4052c811a9b205908f041b5eabe698850cd2048e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 8 Apr 2010 10:58:20 +0200 Subject: write_queue: Add callback for exceptions as well. --- src/write_queue.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/write_queue.c') diff --git a/src/write_queue.c b/src/write_queue.c index a0ac2d6f..618a8c0b 100644 --- a/src/write_queue.c +++ b/src/write_queue.c @@ -32,6 +32,9 @@ int write_queue_bfd_cb(struct bsc_fd *fd, unsigned int what) if (what & BSC_FD_READ) queue->read_cb(fd); + if (what & BSC_FD_EXCEPT) + queue->except_cb(fd); + if (what & BSC_FD_WRITE) { struct msgb *msg; -- cgit v1.2.3