Module: sip-router
Branch: mariuszbihlei/p_usrloc
Commit: b11d463cd6a262d35e32b8bd6a7896c259104259
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b11d463…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Mon Jan 10 16:57:06 2011 +0200
modules_k/p_usrloc : removed some dead code
---
modules_k/p_usrloc/ul_db_api.h | 13 -------------
modules_k/p_usrloc/ul_db_layer.c | 2 +-
2 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/modules_k/p_usrloc/ul_db_api.h b/modules_k/p_usrloc/ul_db_api.h
index 17e66b5..134d2bf 100644
--- a/modules_k/p_usrloc/ul_db_api.h
+++ b/modules_k/p_usrloc/ul_db_api.h
@@ -59,19 +59,6 @@ typedef struct ul_db_api{
typedef int (*bind_ul_db_t)(ul_db_api_t * api);
-/*static inline int load_ul_db_api(ul_db_api_t * api) {
- bind_ul_db_t ul_dbf;
-
- if(!(ul_dbf = (bind_ul_db_t)find_export("sp_ul_db_bind", 1, 0))) {
- LM_ERR("can't import sp_ul_db_bind.\n");
- return -1;
- }
- if(ul_dbf(api) < 0){
- return -1;
- }
- return 0;
-}
-*/
int bind_ul_db(ul_db_api_t* api);
diff --git a/modules_k/p_usrloc/ul_db_layer.c b/modules_k/p_usrloc/ul_db_layer.c
index 2b053a9..feb9d92 100644
--- a/modules_k/p_usrloc/ul_db_layer.c
+++ b/modules_k/p_usrloc/ul_db_layer.c
@@ -25,7 +25,7 @@ static ul_domain_db_list_t * domain_db_list = NULL;
int ul_db_layer_init(void) {
if(bind_ul_db(&p_ul_dbf) < 0) {
- LM_ERR("could not bind sp_ul_db_api.\n");
+ LM_ERR("could not bind ul_db_api.\n");
return -1;
}
if(db_bind_mod(&default_db_url, &dbf) < 0) {