From e9bd0f1568940ca094bb042241eb5f620f1cf622 Mon Sep 17 00:00:00 2001 From: Patrik Rak Date: Fri, 9 Dec 2022 16:21:53 +0100 Subject: [PATCH] Properly test is_worker. --- ext/iodine/iodine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/iodine/iodine.c b/ext/iodine/iodine.c index 551ffd3..2cc4a2d 100644 --- a/ext/iodine/iodine.c +++ b/ext/iodine/iodine.c @@ -312,7 +312,7 @@ static VALUE iodine_master_is(VALUE self) { * a single process mode (the master is also a worker), `false` otherwise. */ static VALUE iodine_worker_is(VALUE self) { - return fio_is_master() ? Qtrue : Qfalse; + return fio_is_worker() ? Qtrue : Qfalse; } /**