Skip to content

Commit

Permalink
sipcapture: fix HEP3 capture-id >= 2^16
Browse files Browse the repository at this point in the history
(cherry picked from commit dbd57c3)
  • Loading branch information
Bastian Triller authored and btriller committed Oct 13, 2017
1 parent 551a0d0 commit 0367cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/sipcapture/sipcapture.c
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0367cdc

Please sign in to comment.