Module: kamailio
Branch: master
Commit: 44db76acb7523b3cd6816c77de45b71857b1a3c1
URL:
https://github.com/kamailio/kamailio/commit/44db76acb7523b3cd6816c77de45b71…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-31T15:54:27+02:00
cplc: init time switch structures
---
Modified: src/modules/cplc/cpl_switches.h
---
Diff:
https://github.com/kamailio/kamailio/commit/44db76acb7523b3cd6816c77de45b71…
Patch:
https://github.com/kamailio/kamailio/commit/44db76acb7523b3cd6816c77de45b71…
---
diff --git a/src/modules/cplc/cpl_switches.h b/src/modules/cplc/cpl_switches.h
index 03e9a48ae9..4a99b2cbe4 100644
--- a/src/modules/cplc/cpl_switches.h
+++ b/src/modules/cplc/cpl_switches.h
@@ -686,6 +686,9 @@ static inline char *run_time_switch( struct cpl_interpreter *intr )
ac_tm_t att;
tmrec_t trt;
+ memset(&att, 0, sizeof(ac_tm_t));
+ memset(&trt, 0, sizeof(tmrec_t));
+
LM_DBG("checking recv. time stamp <%d>\n",
intr->recv_time);
switch (NR_OF_ATTR(intr->ip)) {