Module: sip-router
Branch: master
Commit: d8c11d48aa6f3e36b2ae7b5b8f802961a8cc08d3
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d8c11d4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon May 11 11:28:39 2009 +0300
mi_datagram: use PROC_NOCHLDINIT to fork process instead of 100
- do not run modules' child init, MI commands register own proc init
funtion
---
modules_k/mi_datagram/mi_datagram.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/mi_datagram/mi_datagram.c b/modules_k/mi_datagram/mi_datagram.c
index e68a99a..e45cee2 100644
--- a/modules_k/mi_datagram/mi_datagram.c
+++ b/modules_k/mi_datagram/mi_datagram.c
@@ -277,7 +277,7 @@ static int mi_child_init(int rank)
}
for(i=0; i<mi_procs[0].no; i++)
{
- pid=fork_process(100, "MI DATAGRAM", 1);
+ pid=fork_process(PROC_NOCHLDINIT, "MI DATAGRAM", 1);
if (pid<0)
return -1; /* error */
if(pid==0) {