Explorar o código

dispatcher(k): append_branch() api changes

Andrei Pelinescu-Onciul %!s(int64=16) %!d(string=hai) anos
pai
achega
94ec0ae08c
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      modules_k/dispatcher/dispatch.c

+ 1 - 2
modules_k/dispatcher/dispatch.c

@@ -1061,8 +1061,7 @@ static inline int ds_update_dst(struct sip_msg *msg, str *uri, int mode)
 	}
 	if(ds_append_branch!=0 && route_type==FAILURE_ROUTE)
 	{
-		if (append_branch(msg, 0, 0, (duri)?duri->s:0, (duri)?duri->len:0,
-					Q_UNSPECIFIED, 0)!=1 )
+		if (append_branch(msg, 0, duri, 0, Q_UNSPECIFIED, 0, 0)!=1 )
 		{
 			LM_ERR("append_branch action failed\n");
 			return -1;