Skip to content

Commit

Permalink
ims_registrar_pcscf: Only initialize child process, if subscribe to r…
Browse files Browse the repository at this point in the history
…eg is enabled.
  • Loading branch information
carstenbock committed Jan 22, 2015
1 parent 6b3d684 commit a0fee0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ims_registrar_pcscf/reg_mod.c
Expand Up @@ -318,7 +318,7 @@ static int child_init(int rank)
{

LM_DBG("Initialization of module in child [%d] \n", rank);
if (rank == PROC_MAIN) {
if ((subscribe_to_reginfo == 1) && (rank == PROC_MAIN)) {
LM_DBG("Creating RegInfo Event Processor process\n");
int pid = fork_process(PROC_SIPINIT, "RegInfo Event Processor", 1);
if (pid < 0)
Expand Down

0 comments on commit a0fee0d

Please sign in to comment.