소스 검색

modules/domain: Updated to use the new get_branch()/next_branch() functions

Hugh Waite 12 년 전
부모
커밋
58c9ba9734
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/domain/domain.c

+ 1 - 1
modules/domain/domain.c

@@ -142,7 +142,7 @@ int is_uri_host_local(struct sip_msg* _msg, char* _s1, char* _s2)
 	}
 	}
 	return hash_table_lookup(&(_msg->parsed_uri.host), &did, &attrs);
 	return hash_table_lookup(&(_msg->parsed_uri.host), &did, &attrs);
     } else if (is_route_type(FAILURE_ROUTE)) {
     } else if (is_route_type(FAILURE_ROUTE)) {
-	branch.s = get_branch(0, &branch.len, &q, 0, 0, 0, 0, 0);
+	branch.s = get_branch(0, &branch.len, &q, 0, 0, 0, 0, 0, 0);
 	if (branch.s) {
 	if (branch.s) {
 	    if (parse_uri(branch.s, branch.len, &puri) < 0) {
 	    if (parse_uri(branch.s, branch.len, &puri) < 0) {
 		LM_ERR("error while parsing branch URI\n");
 		LM_ERR("error while parsing branch URI\n");