Module: kamailio Branch: master Commit: 0052367550d02927ce844da3b8e27039faac6beb URL: https://github.com/kamailio/kamailio/commit/0052367550d02927ce844da3b8e27039...
Author: Alexandr Dubovikov alexandr.dubovikov@gmail.com Committer: GitHub noreply@github.com Date: 2017-04-16T18:49:38+02:00
Merge pull request #1073 from btriller/fix-hep3-capture-id
sipcapture: fix HEP3 capture-id >= 2^16
---
Modified: src/modules/sipcapture/sipcapture.c
---
Diff: https://github.com/kamailio/kamailio/commit/0052367550d02927ce844da3b8e27039... Patch: https://github.com/kamailio/kamailio/commit/0052367550d02927ce844da3b8e27039...
---
diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c index c398c72..10f15a6 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;