summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/routing.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-03-26 16:04:54 +0000
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-26 16:04:54 +0000
commit7ee6dadd39f3d4b5874d23bfcdcdd66eb195124e (patch)
tree43abd2084831d5a36c88a8ad93b3dec3e48127cd /src/ipcpd/normal/routing.c
parent0a75074b15f66a60496d196c0759d33afa3c8b18 (diff)
parent572013b92d82e78ef5e5b19d79316ae3131c71af (diff)
downloadouroboros-7ee6dadd39f3d4b5874d23bfcdcdd66eb195124e.tar.gz
ouroboros-7ee6dadd39f3d4b5874d23bfcdcdd66eb195124e.zip
Merged in sandervrijders/ouroboros/be-pointer (pull request #425)
ipcpd: normal: Fix compilation issue
Diffstat (limited to 'src/ipcpd/normal/routing.c')
-rw-r--r--src/ipcpd/normal/routing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/normal/routing.c b/src/ipcpd/normal/routing.c
index b750ca84..998b294a 100644
--- a/src/ipcpd/normal/routing.c
+++ b/src/ipcpd/normal/routing.c
@@ -291,12 +291,12 @@ static void * rib_listener(void * o)
}
}
- while (rib_event_wait(routing.set, routing.queue, NULL)) {
+ while (rib_event_wait(routing.set, routing.queue, NULL) == 0) {
flag = rqueue_next(routing.queue, path);
if (flag < 0)
continue;
- if (read_fso(children[i], flag)) {
+ if (read_fso(path, flag)) {
log_err("Failed to parse FSO.");
continue;
}