Module: sip-router
Branch: master
Commit: 5712eb5fdfa498a1678a7a2c01ddbaeff0458d35
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5712eb5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 22 17:19:43 2014 +0200
mtree: shift values for reload count and time from temporary structure
---
modules/mtree/mtree_mod.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/mtree/mtree_mod.c b/modules/mtree/mtree_mod.c
index 276bb21..f65f926 100644
--- a/modules/mtree/mtree_mod.c
+++ b/modules/mtree/mtree_mod.c
@@ -639,6 +639,8 @@ static int mt_load_db(m_tree_t *pt)
old_tree->nrnodes = new_tree.nrnodes;
old_tree->nritems = new_tree.nritems;
old_tree->memsize = new_tree.memsize;
+ old_tree->reload_count = new_tree.reload_count;
+ old_tree->reload_time = new_tree.reload_time;
mt_reload_flag = 0;