Module: sip-router
Branch: master
Commit: 4cd5605bb9b28e6ffb872068d0aab833ea3d8811
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4cd5605…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Oct 1 01:26:52 2009 +0200
usrloc(s): gcc 2.9x var decls. fixes
variable declarations must be at the beginning of the function and
not intercalated in the code.
---
modules_s/usrloc/ul_mod.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_s/usrloc/ul_mod.c b/modules_s/usrloc/ul_mod.c
index 61307bd..0afc98f 100644
--- a/modules_s/usrloc/ul_mod.c
+++ b/modules_s/usrloc/ul_mod.c
@@ -207,7 +207,6 @@ static int mod_init(void)
static int build_db_cmds(void)
{
- INFO("usrloc: build_db_cmds()\n");
db_fld_t del_contact_match[] = {
{.name = uid_col.s, .type = DB_STR},
{.name = contact_col.s, .type = DB_STR},
@@ -234,6 +233,7 @@ static int build_db_cmds(void)
dlist_t* ptr;
int i;
+ INFO("usrloc: build_db_cmds()\n");
for(cmd_n = 0, ptr = root; ptr; cmd_n++, ptr = ptr->next);
del_contact = pkg_malloc(cmd_n);