Explorar el Código

modules/nathelper: make variable declaration consistent

Mikko Lehto hace 8 años
padre
commit
37b90d1c91
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/modules/nathelper/nathelper.c

+ 2 - 2
src/modules/nathelper/nathelper.c

@@ -201,7 +201,7 @@ static char* rcv_avp_param = NULL;
 static unsigned short rcv_avp_type = 0;
 static int_str rcv_avp_name;
 
-static char *natping_socket = 0;
+static char* natping_socket = NULL;
 static int udpping_from_path = 0;
 static int sdp_oldmediaip = 1;
 static int raw_sock = -1;
@@ -213,7 +213,7 @@ static request_method_t sipping_method_id = 0;
 static int nh_filter_srvid = 0;
 
 /*0-> disabled, 1 ->enabled*/
-unsigned int *natping_state=0;
+unsigned int* natping_state = NULL;
 
 static cmd_export_t cmds[] = {
 	{"fix_nated_contact",  (cmd_function)fix_nated_contact_f,    0,