[sr-dev] git:5.0:3ffbd379: sipcapture: fix HEP3 capture-id >= 2^16
Ãyvind Kolbu
oyvind.kolbu at usit.uio.no
Wed Oct 25 12:06:37 CEST 2017
Module: kamailio
Branch: 5.0
Commit: 3ffbd3796cc8507480ccb666e724725c06b901ca
URL: https://github.com/kamailio/kamailio/commit/3ffbd3796cc8507480ccb666e724725c06b901ca
Author: Bastian Triller <btriller at broadsoft.com>
Committer: Ãyvind Kolbu <oyvind.kolbu at usit.uio.no>
Date: 2017-10-25T10:48:45+02:00
sipcapture: fix HEP3 capture-id >= 2^16
(cherry picked from commit dbd57c3eac30e1de54d98eb2ba8f608a17f7adbf)
---
Modified: src/modules/sipcapture/sipcapture.c
---
Diff: https://github.com/kamailio/kamailio/commit/3ffbd3796cc8507480ccb666e724725c06b901ca.diff
Patch: https://github.com/kamailio/kamailio/commit/3ffbd3796cc8507480ccb666e724725c06b901ca.patch
---
diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c
index 7167cf3053..1111b9da65 100644
--- a/src/modules/sipcapture/sipcapture.c
+++ b/src/modules/sipcapture/sipcapture.c
@@ -271,7 +271,7 @@ enum hash_source source = hs_error;
//unsigned int rr_idx = 0;
-struct hep_timehdr* heptime;
+struct hep_timeinfo* heptime;
/*! \brief
* Exported functions
@@ -1150,7 +1150,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