Module: kamailio
Branch: master
Commit: e7c14adc0b171fae9ad7c0fed4fb3c785dd282ca
URL:
https://github.com/kamailio/kamailio/commit/e7c14adc0b171fae9ad7c0fed4fb3c7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-01-10T18:38:00+01:00
ctl: rename is_main to _ksr_is_main
---
Modified: src/modules/ctl/ctl.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e7c14adc0b171fae9ad7c0fed4fb3c7…
Patch:
https://github.com/kamailio/kamailio/commit/e7c14adc0b171fae9ad7c0fed4fb3c7…
---
diff --git a/src/modules/ctl/ctl.c b/src/modules/ctl/ctl.c
index a51a7b41ff..65cb10589e 100644
--- a/src/modules/ctl/ctl.c
+++ b/src/modules/ctl/ctl.c
@@ -332,7 +332,7 @@ static int mod_child(int rank)
goto error;
}
if (pid == 0){ /* child */
- is_main=0;
+ _ksr_is_main=0;
DBG("ctl: %d io_listen_loop(%d, %p)\n",
rank, fd_no, ctrl_sock_lst);
io_listen_loop(fd_no, ctrl_sock_lst);