summaryrefslogtreecommitdiffstats
path: root/src/write_queue.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-08 10:58:20 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-08 10:58:20 +0200
commit4052c811a9b205908f041b5eabe698850cd2048e (patch)
treedeb1225c7858c821e66b162229cff67f22cc6fc4 /src/write_queue.c
parent9bb553ee40104c47f9a27d7662eb2867dd2b5d1e (diff)
write_queue: Add callback for exceptions as well.
Diffstat (limited to 'src/write_queue.c')
-rw-r--r--src/write_queue.c3
1 files changed, 3 insertions, 0 deletions
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;