Module: sip-router
Branch: master
Commit: 9e047c210da28f79c0208b209ae86e6d43b3c3d7
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9e047c2…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Fri Mar 12 11:29:47 2010 +0200
registrar Fixed typo in original commit that caused an invalid reference when linking
---
modules_k/registrar/reg_mod.c | 2 +-
modules_k/registrar/reg_mod.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/registrar/reg_mod.c b/modules_k/registrar/reg_mod.c
index 877810b..eee1557 100644
--- a/modules_k/registrar/reg_mod.c
+++ b/modules_k/registrar/reg_mod.c
@@ -529,7 +529,7 @@ error:
}
void default_expires_stats_update(str* gname, str* name){
- update_stat(default_expires_stat, cfg_get(registrar, registrar_cfg, default_expires));
+ update_stat(default_expire_stat, cfg_get(registrar, registrar_cfg, default_expires));
}
void min_expires_stats_update(str* gname, str* name){
diff --git a/modules_k/registrar/reg_mod.h b/modules_k/registrar/reg_mod.h
index 2fda4ae..162021b 100644
--- a/modules_k/registrar/reg_mod.h
+++ b/modules_k/registrar/reg_mod.h
@@ -95,7 +95,7 @@ extern struct sl_binds slb;
extern stat_var *accepted_registrations;
extern stat_var *rejected_registrations;
-extern stat_var *default_expires_stat;
+extern stat_var *default_expire_stat;
extern stat_var *min_expires_stat;
extern stat_var *max_expires_stat;