Browse Source

constraint_init needs to return 0 if we have no constraints

OPENBSD_5_7
Brent Cook 9 years ago
parent
commit
5035e4decb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/constraint-disabled.c

+ 2
- 2
src/constraint-disabled.c View File

@ -21,7 +21,7 @@
int int
constraint_init(struct constraint *cstr) constraint_init(struct constraint *cstr)
{ {
return (1);
return (0);
} }
@ -39,7 +39,7 @@ constraint_check_child(void)
int int
constraint_dispatch_msg(struct pollfd *pfd) constraint_dispatch_msg(struct pollfd *pfd)
{ {
return (1);
return (0);
} }
void void


Loading…
Cancel
Save