diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_runtime.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_runtime.h b/src/nxt_runtime.h index f6d6aa53..b491002e 100644 --- a/src/nxt_runtime.h +++ b/src/nxt_runtime.h @@ -49,7 +49,7 @@ struct nxt_runtime_s { uint8_t daemon; uint8_t batch; - uint8_t master_process; + uint8_t main_process; const char *engine; uint32_t engine_connections; uint32_t auxiliary_threads; @@ -89,9 +89,9 @@ nxt_runtime_is_type(nxt_runtime_t *rt, nxt_process_type_t type) nxt_inline nxt_bool_t -nxt_runtime_is_master(nxt_runtime_t *rt) +nxt_runtime_is_main(nxt_runtime_t *rt) { - return nxt_runtime_is_type(rt, NXT_PROCESS_MASTER); + return nxt_runtime_is_type(rt, NXT_PROCESS_MAIN); } |