summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nest/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/proto.c b/nest/proto.c
index cfa6ff4b..d87d05c1 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -1095,7 +1095,7 @@ proto_notify_state(struct proto *p, unsigned ps)
if ((cs == FS_FEEDING) || (cs == FS_HAPPY))
proto_schedule_flush(p);
- if (p->proto->multitable)
+ if (!p->proto->multitable)
{
rt_unlock_source(p->main_source);
p->main_source = NULL;