Module: sip-router
Branch: master
Commit: ef2906d5036dd48320702285f6390e9e688a292a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ef2906d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jan 4 00:43:08 2011 +0100
db_flatstore: skip child init for proc init rank
---
modules/db_flatstore/flatstore_mod.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/db_flatstore/flatstore_mod.c b/modules/db_flatstore/flatstore_mod.c
index b008f20..efbe6e1 100644
--- a/modules/db_flatstore/flatstore_mod.c
+++ b/modules/db_flatstore/flatstore_mod.c
@@ -192,6 +192,9 @@ static int child_init(int rank)
char* tmp;
unsigned int v;
+ if(rank==PROC_INIT)
+ return 0;
+
km_child_init(rank);
if (rank <= 0) {