git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4657 689a6050-402a-0410-94f2-e92a70836424
... | ... |
@@ -189,8 +189,6 @@ static int mod_init(void) { |
189 | 189 |
|
190 | 190 |
int ret = 0; |
191 | 191 |
|
192 |
- LM_INFO("benchmark: initializing\n"); |
|
193 |
- |
|
194 | 192 |
bm_mycfg = (bm_cfg_t*)shm_malloc(sizeof(bm_cfg_t)); |
195 | 193 |
memset(bm_mycfg, 0, sizeof(bm_cfg_t)); |
196 | 194 |
bm_mycfg->enable_global = bm_enable_global; |
... | ... |
@@ -237,8 +237,6 @@ static int cpl_init(void) |
237 | 237 |
db_table.len = strlen(db_table.s); |
238 | 238 |
if (timer_avp.s) timer_avp.len = strlen(timer_avp.s); |
239 | 239 |
|
240 |
- LM_INFO("initializing...\n"); |
|
241 |
- |
|
242 | 240 |
if (cpl_env.proxy_recurse>MAX_PROXY_RECURSE) { |
243 | 241 |
LM_CRIT("value of proxy_recurse param (%d) exceeds " |
244 | 242 |
"the maximum safety value (%d)\n", |
... | ... |
@@ -115,8 +115,6 @@ struct module_exports exports= { |
115 | 115 |
|
116 | 116 |
static int mod_init(void) |
117 | 117 |
{ |
118 |
- LM_INFO("initializing module...\n"); |
|
119 |
- |
|
120 | 118 |
dp_db_url.len = dp_db_url.s ? strlen(dp_db_url.s) : 0; |
121 | 119 |
LM_DBG("db_url=%s/%d/%p\n", ZSW(dp_db_url.s), dp_db_url.len,dp_db_url.s); |
122 | 120 |
dp_table_name.len = strlen(dp_table_name.s); |
... | ... |
@@ -212,8 +212,6 @@ static int mod_init(void) |
212 | 212 |
if (ds_ping_from.s) ds_ping_from.len = strlen(ds_ping_from.s); |
213 | 213 |
if (ds_ping_method.s) ds_ping_method.len = strlen(ds_ping_method.s); |
214 | 214 |
|
215 |
- LM_DBG("initializing ...\n"); |
|
216 |
- |
|
217 | 215 |
if(init_data()!= 0) |
218 | 216 |
return -1; |
219 | 217 |
|
... | ... |
@@ -154,8 +154,6 @@ static int mod_init(void) |
154 | 154 |
unsigned int par; |
155 | 155 |
int ver; |
156 | 156 |
|
157 |
- LM_INFO("initializing...\n"); |
|
158 |
- |
|
159 | 157 |
db_url.len = strlen(db_url.s); |
160 | 158 |
domainpolicy_table.len = strlen(domainpolicy_table.s); |
161 | 159 |
domainpolicy_col_rule.len = strlen(domainpolicy_col_rule.s); |
... | ... |
@@ -271,8 +271,6 @@ static int mod_init(void) |
271 | 271 |
if (ms_snd_time_avp_param.s) |
272 | 272 |
ms_snd_time_avp_param.len = strlen(ms_snd_time_avp_param.s); |
273 | 273 |
|
274 |
- LM_DBG("initializing ...\n"); |
|
275 |
- |
|
276 | 274 |
/* binding to mysql module */ |
277 | 275 |
if (db_bind_mod(&ms_db_url, &msilo_dbf)) |
278 | 276 |
{ |
... | ... |
@@ -73,8 +73,7 @@ static unsigned int last_rr_msg; |
73 | 73 |
|
74 | 74 |
MODULE_VERSION |
75 | 75 |
|
76 |
-static int mod_init(void); |
|
77 |
-static void mod_destroy(void); |
|
76 |
+static int mod_init(void);static void mod_destroy(void); |
|
78 | 77 |
/* fixup functions */ |
79 | 78 |
static int direction_fixup(void** param, int param_no); |
80 | 79 |
static int it_list_fixup(void** param, int param_no); |
... | ... |
@@ -141,7 +140,6 @@ struct module_exports exports = { |
141 | 140 |
|
142 | 141 |
static int mod_init(void) |
143 | 142 |
{ |
144 |
- LM_DBG("rr - initializing\n"); |
|
145 | 143 |
#ifdef ENABLE_USER_CHECK |
146 | 144 |
if(ignore_user) |
147 | 145 |
{ |
... | ... |
@@ -551,8 +551,6 @@ static int script_init( struct sip_msg *foo, void *bar) |
551 | 551 |
|
552 | 552 |
static int mod_init(void) |
553 | 553 |
{ |
554 |
- LM_INFO("TM - initializing...\n"); |
|
555 |
- |
|
556 | 554 |
/* checking if we have sufficient bitmap capacity for given |
557 | 555 |
maximum number of branches */ |
558 | 556 |
if (MAX_BRANCHES+1>31) { |
... | ... |
@@ -137,8 +137,6 @@ inline static int parse_auth_avp( char *avp_spec, pv_spec_t *avp, char *txt) |
137 | 137 |
|
138 | 138 |
static int mod_init(void) |
139 | 139 |
{ |
140 |
- LM_INFO("initializing...\n"); |
|
141 |
- |
|
142 | 140 |
if (from_restore_mode_str && *from_restore_mode_str) { |
143 | 141 |
if (strcasecmp(from_restore_mode_str,"none")==0) { |
144 | 142 |
from_restore_mode = FROM_NO_RESTORE; |
... | ... |
@@ -154,10 +154,8 @@ static int child_init(int rank) |
154 | 154 |
static int mod_init(void) |
155 | 155 |
{ |
156 | 156 |
int ver; |
157 |
- |
|
158 |
- LM_DBG("uri_db - initializing\n"); |
|
159 |
- |
|
160 | 157 |
db_url.len = strlen(db_url.s); |
158 |
+ |
|
161 | 159 |
if (db_url.len == 0) { |
162 | 160 |
if (use_uri_table) { |
163 | 161 |
LM_ERR("configuration error - no database URL, " |
... | ... |
@@ -520,15 +520,12 @@ struct mi_root * mi_reload_blacklist(struct mi_root* cmd, void* param) |
520 | 520 |
|
521 | 521 |
static int mod_init(void) |
522 | 522 |
{ |
523 |
- LM_INFO("initializing ...\n"); |
|
524 | 523 |
db_url.len = strlen(db_url.s); |
525 | 524 |
db_table.len = strlen(db_table.s); |
526 | 525 |
|
527 | 526 |
if (db_bind(&db_url) != 0) return -1; |
528 | 527 |
if (init_shmlock() != 0) return -1; |
529 | 528 |
if (init_source_list() != 0) return -1; |
530 |
- LM_INFO("finished initializing\n"); |
|
531 |
- |
|
532 | 529 |
return 0; |
533 | 530 |
} |
534 | 531 |
|