瀏覽代碼

xhttp: updates for new signature of via_builder()

Daniel-Constantin Mierla 7 年之前
父節點
當前提交
75a034d032
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/xhttp/xhttp_mod.c

+ 1 - 1
src/modules/xhttp/xhttp_mod.c

@@ -210,7 +210,7 @@ static char* xhttp_to_sip(sip_msg_t* msg, int* new_msg_len)
 	hp.host = &ip;
 	hp.port = &port;
 	init_dst_from_rcv(&dst, &msg->rcv);
-	via = via_builder(&via_len, &dst, 0, 0, &hp);
+	via = via_builder(&via_len, NULL, &dst, 0, 0, &hp);
 	if (via == 0)
 	{
 		LM_DBG("failed to build via\n");