Module: sip-router Branch: sr_3.0 Commit: 18ff125720ef9265a271a1bcbc62a25d5a4064c9 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=18ff1257...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Mon Oct 12 18:04:30 2009 +0200
pua_mi: gcc 2.95 compile fixes
- variables must be declared at the beginning of a block
---
modules_k/pua_mi/pua_mi.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules_k/pua_mi/pua_mi.c b/modules_k/pua_mi/pua_mi.c index 969303d..a6ab82c 100644 --- a/modules_k/pua_mi/pua_mi.c +++ b/modules_k/pua_mi/pua_mi.c @@ -84,9 +84,10 @@ struct module_exports exports= { */ static int mod_init(void) { - LM_DBG("...\n"); bind_pua_t bind_pua; + LM_DBG("...\n"); + if(register_mi_mod(exports.name, mi_cmds)!=0) { LM_ERR("failed to register MI commands\n");