Skip to content

Commit 962ba07

Browse files
committed
Merge branch 'db_virtual' of https://github.com/l2dy/opensips into l2dy-db_virtual
2 parents b64d072 + bbbe695 commit 962ba07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/db_virtual/dbase.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,16 +273,14 @@ do{
273273
}while(0) \
274274

275275

276-
db_con_t* db_virtual_init(const str* _set_url)
277-
{
278276
/*
279277
find set_url in global state
280278
get index
281279
allocate
282280
populate with db_init
283281
*/
284-
LM_DBG("INIT set_name, %.*s\n", _set_url->len, _set_url->s);
285-
282+
db_con_t* db_virtual_init(const str* _set_url)
283+
{
286284
int i;
287285
int index = -1;
288286
db_con_t * res=NULL;
@@ -295,6 +293,8 @@ db_con_t* db_virtual_init(const str* _set_url)
295293
return NULL;
296294
}
297295

296+
LM_DBG("INIT set_name, %.*s\n", _set_url->len, _set_url->s);
297+
298298
/* so that loadmodule order does not matter */
299299
if(!global){
300300
if(virtual_mod_init())

0 commit comments

Comments
 (0)