Răsfoiți Sursa

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

Peter Dunkley 12 ani în urmă
părinte
comite
f63b55b96e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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);
     } else if (is_route_type(FAILURE_ROUTE)) {
-	branch.s = get_branch(0, &branch.len, &q, 0, 0, 0, 0);
+	branch.s = get_branch(0, &branch.len, &q, 0, 0, 0, 0, 0);
 	if (branch.s) {
 	    if (parse_uri(branch.s, branch.len, &puri) < 0) {
 		LM_ERR("error while parsing branch URI\n");