From 5035e4decb51e490a5433cde539ec66e37fc2e78 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 12 Mar 2015 02:47:45 -0500 Subject: [PATCH] constraint_init needs to return 0 if we have no constraints --- src/constraint-disabled.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constraint-disabled.c b/src/constraint-disabled.c index 1c0708c..c045cd5 100644 --- a/src/constraint-disabled.c +++ b/src/constraint-disabled.c @@ -21,7 +21,7 @@ int constraint_init(struct constraint *cstr) { - return (1); + return (0); } @@ -39,7 +39,7 @@ constraint_check_child(void) int constraint_dispatch_msg(struct pollfd *pfd) { - return (1); + return (0); } void