X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=dccp_recv.c;h=eb442f303483980aaf49dd31a85876dbcc675f97;hp=ea6884b16a1ffcda3002eb6b6340b2cff257b7be;hb=00e793e68a2a79a818f3f468972e5f75d7fdaf8d;hpb=4ac3134c050ba28b57e0ae9686eb1f6d83e6d586 diff --git a/dccp_recv.c b/dccp_recv.c index ea6884b1..eb442f30 100644 --- a/dccp_recv.c +++ b/dccp_recv.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2012 Andre Noll + * Copyright (C) 2006-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -19,11 +19,11 @@ #include "list.h" #include "sched.h" #include "ggo.h" +#include "buffer_tree.h" #include "recv.h" #include "string.h" #include "net.h" #include "fd.h" -#include "buffer_tree.h" #include "dccp_recv.cmdline.h" @@ -132,6 +132,9 @@ static void dccp_recv_post_select(struct sched *s, struct task *t) int ret, iovcnt; size_t num_bytes; + ret = task_get_notification(t); + if (ret < 0) + goto out; ret = btr_node_status(btrn, 0, BTR_NT_ROOT); if (ret <= 0) goto out;