Explorar o código

pua_mi: gcc 2.95 compile fixes

- variables must be declared at the beginning of a block
Andrei Pelinescu-Onciul %!s(int64=16) %!d(string=hai) anos
pai
achega
18ff125720
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      modules_k/pua_mi/pua_mi.c

+ 2 - 1
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");