diff --git a/src/zloop.c b/src/zloop.c index c0c0ec591..f7cc6d95d 100644 --- a/src/zloop.c +++ b/src/zloop.c @@ -678,7 +678,7 @@ void zloop_set_nonstop (zloop_t *self, bool nonstop) { assert (self); - self->nonstop = true; + self->nonstop = nonstop; }