Module: kamailio
Branch: master
Commit: 37b90d1c91bcaa2281a4fa25980f31d9f2579d17
URL:
https://github.com/kamailio/kamailio/commit/37b90d1c91bcaa2281a4fa25980f31d…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2017-06-05T21:43:18+03:00
modules/nathelper: make variable declaration consistent
---
Modified: src/modules/nathelper/nathelper.c
---
Diff:
https://github.com/kamailio/kamailio/commit/37b90d1c91bcaa2281a4fa25980f31d…
Patch:
https://github.com/kamailio/kamailio/commit/37b90d1c91bcaa2281a4fa25980f31d…
---
diff --git a/src/modules/nathelper/nathelper.c b/src/modules/nathelper/nathelper.c
index 61f3747f09..5a81f57e29 100644
--- a/src/modules/nathelper/nathelper.c
+++ b/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,