Module: sip-router
Branch: mariuszbihlei/p_usrloc
Commit: b27f9a1881185b55743dc7b3fda9397249732f00
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b27f9a1…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Tue Jan 18 15:09:16 2011 +0200
modules/registrar : changes caused by usrloc refactoring
---
modules_k/registrar/reg_mod.c | 2 +-
modules_k/registrar/regpv.c | 2 +-
modules_k/registrar/save.c | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules_k/registrar/reg_mod.c b/modules_k/registrar/reg_mod.c
index 239447e..8ef3cfc 100644
--- a/modules_k/registrar/reg_mod.c
+++ b/modules_k/registrar/reg_mod.c
@@ -67,7 +67,7 @@
#include "../../socket_info.h"
#include "../../pvar.h"
#include "../../lib/kcore/km_ut.h"
-#include "../usrloc/ul_mod.h"
+#include "../../lib/kcore/statistics.h"
#include "../../modules/sl/sl.h"
#include "../../mod_fix.h"
diff --git a/modules_k/registrar/regpv.c b/modules_k/registrar/regpv.c
index 60e8c1f..7f5f8ec 100644
--- a/modules_k/registrar/regpv.c
+++ b/modules_k/registrar/regpv.c
@@ -442,7 +442,7 @@ int pv_fetch_contacts(struct sip_msg* msg, char* table, char* uri,
}
memcpy(rpp->aor.s, aor.s, aor.len);
rpp->aor.len = aor.len;
- rpp->domain = *((udomain_t*)table)->name;
+ rpp->domain = *((udomain_head_t*)table)->name;
rpp->flags = 1;
/* copy contacts */
diff --git a/modules_k/registrar/save.c b/modules_k/registrar/save.c
index 9955034..efe0961 100644
--- a/modules_k/registrar/save.c
+++ b/modules_k/registrar/save.c
@@ -59,6 +59,7 @@
#include "../../dset.h"
#include "../../mod_fix.h"
#include "../../lib/kcore/cmpapi.h"
+#include "../../lib/kcore/statistics.h"
#ifdef USE_TCP
#include "../../tcp_server.h"
#endif