Module: sip-router
Branch: 3.1
Commit: 76a4dc1731034132b1651dc377bc34575b7ab057
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=76a4dc1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Jan 15 12:22:45 2011 +0100
mtree: don't safety check for db con in mod child
- proper connection will be returned based on pid condition
(cherry picked from commit 11b19d2f5f471bd151bfc47e82f716526118e834)
---
modules/mtree/mtree_mod.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/mtree/mtree_mod.c b/modules/mtree/mtree_mod.c
index 29ea12a..40ad09b 100644
--- a/modules/mtree/mtree_mod.c
+++ b/modules/mtree/mtree_mod.c
@@ -327,8 +327,6 @@ error1:
*/
static int mi_child_init(void)
{
- if(db_con!=NULL)
- return 0;
db_con = mt_dbf.init(&db_url);
if(db_con==NULL)
{