Module: kamailio
Branch: 4.2
Commit: e2b91d68d1fe411621587a552c15b4b705ae17eb
URL:
https://github.com/kamailio/kamailio/commit/e2b91d68d1fe411621587a552c15b4b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-01-08T16:11:18+01:00
dmq: initialize peer_list to NULL by default
- credits to Olle E. Jonansson for testing and reports
(cherry picked from commit b27c38b71c09e6763e8412b7e33aab77af3dfc76)
---
Modified: modules/dmq/dmq.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e2b91d68d1fe411621587a552c15b4b…
Patch:
https://github.com/kamailio/kamailio/commit/e2b91d68d1fe411621587a552c15b4b…
---
diff --git a/modules/dmq/dmq.c b/modules/dmq/dmq.c
index 3d84872..9b0df41 100644
--- a/modules/dmq/dmq.c
+++ b/modules/dmq/dmq.c
@@ -76,7 +76,7 @@ sl_api_t slb;
/** module variables */
str dmq_request_method = str_init("KDMQ");
dmq_worker_t* workers;
-dmq_peer_list_t* peer_list;
+dmq_peer_list_t* peer_list = 0;
/* the list of dmq servers */
dmq_node_list_t* node_list;
// the dmq module is a peer itself for receiving notifications regarding nodes