Module: sip-router
Branch: master
Commit: ece30366e75ad5f057e911ce25f79caf9861cec6
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ece3036…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Sep 29 10:25:16 2011 +0200
core: init_child(1) for no-fork mode replaced with init_child(PROC_SIPINIT)
- use the defined proc rank instead if its integer value
---
main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/main.c b/main.c
index 45f0a6a..e2ad1f3 100644
--- a/main.c
+++ b/main.c
@@ -1390,7 +1390,7 @@ int main_loop()
* in fact we behave like a child, not like main process
*/
- if (init_child(1) < 0) {
+ if (init_child(PROC_SIPINIT) < 0) {
LOG(L_ERR, "main_dontfork: init_child failed\n");
goto error;
}