浏览代码

modules/tm: updated use of get_branch() and next_branch() to cope with additional argument

Peter Dunkley 12 年之前
父节点
当前提交
0860555382
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/tm/t_fwd.c

+ 1 - 1
modules/tm/t_fwd.c

@@ -1493,7 +1493,7 @@ int t_forward_nonack( struct cell *t, struct sip_msg* p_msg ,
 
 
 	init_branch_iterator();
 	init_branch_iterator();
 	while((current_uri.s=next_branch( &current_uri.len, &q, &dst_uri, &path,
 	while((current_uri.s=next_branch( &current_uri.len, &q, &dst_uri, &path,
-										&bflags, &si))) {
+										&bflags, &si, 0))) {
 		try_new++;
 		try_new++;
 		setbflagsval(0, bflags);
 		setbflagsval(0, bflags);