Module: sip-router Branch: master Commit: 11b19d2f5f471bd151bfc47e82f716526118e834 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=11b19d2f...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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
---
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) {