[sr-dev] git:4.4:3794ecf8: Merge pull request #1272 from btriller/fix-hep3-capture-id-backport-4.4

GitHub noreply at github.com
Fri Oct 13 20:10:23 CEST 2017


Module: kamailio
Branch: 4.4
Commit: 3794ecf832925e71dd6834c711388801aa60c274
URL: https://github.com/kamailio/kamailio/commit/3794ecf832925e71dd6834c711388801aa60c274

Author: Alexandr Dubovikov <alexandr.dubovikov at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2017-10-13T20:10:17+02:00

Merge pull request #1272 from btriller/fix-hep3-capture-id-backport-4.4

sipcapture: fix HEP3 capture-id >= 2^16

---

Modified: modules/sipcapture/sipcapture.c

---

Diff:  https://github.com/kamailio/kamailio/commit/3794ecf832925e71dd6834c711388801aa60c274.diff
Patch: https://github.com/kamailio/kamailio/commit/3794ecf832925e71dd6834c711388801aa60c274.patch

---

diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c
index fb999360a5..e80158b82e 100644
--- a/modules/sipcapture/sipcapture.c
+++ b/modules/sipcapture/sipcapture.c
@@ -257,7 +257,7 @@ enum hash_source source = hs_error;
 
 //unsigned int rr_idx = 0;
 
-struct hep_timehdr* heptime;
+struct hep_timeinfo* heptime;
 
 /*! \brief
  * Exported functions
@@ -1112,7 +1112,7 @@ static int child_init(int rank)
 	}
 
 
-	heptime = (struct hep_timehdr*)pkg_malloc(sizeof(struct hep_timehdr));
+	heptime = (struct hep_timeinfo*)pkg_malloc(sizeof(struct hep_timeinfo));
 	if(heptime==NULL) {
 		LM_ERR("no more pkg memory left\n");
 		return -1;




More information about the sr-dev mailing list