Module: sip-router
Branch: master
Commit: 721d126145538a9291a384c0b116a33b38674296
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=721d126…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Jun 27 21:26:13 2009 +0200
pdt: fixed rank testing in child init
---
modules_k/pdt/pdt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/pdt/pdt.c b/modules_k/pdt/pdt.c
index 28650d8..7f2dfda 100644
--- a/modules_k/pdt/pdt.c
+++ b/modules_k/pdt/pdt.c
@@ -288,7 +288,7 @@ static int child_init(void)
/* each child get a new connection to the database */
static int mod_child_init(int r)
{
- if (r=PROC_INIT || r==PROC_MAIN || r==PROC_TCP_MAIN)
+ if (r==PROC_INIT || r==PROC_MAIN || r==PROC_TCP_MAIN)
return 0; /* do nothing for the main process */
if ( child_init()!=0 )