浏览代码

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

(cherry picked from commit dbd57c3eac30e1de54d98eb2ba8f608a17f7adbf)
Bastian Triller 8 年之前
父节点
当前提交
3ffbd3796c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/modules/sipcapture/sipcapture.c

+ 2 - 2
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;