Browse code

proto->proto fixed to proxy->proto in ACK_HACK (thanks, Jan)

Jiri Kuthan authored on 27/04/2003 21:16:51
Showing 1 changed files
... ...
@@ -37,6 +37,7 @@
37 37
  *  2003-02-13  modified send_pr_buffer to use msg_send & rb->dst (andrei)
38 38
  *  2003-04-14  use protocol from uri (jiri)
39 39
  *  2003-04-25  do it (^) really everywhere (jiri)
40
+ *  2003-04-26  do it (^) really really really everywhere (jiri)
40 41
  */
41 42
 
42 43
 
... ...
@@ -246,7 +247,7 @@ int t_relay_to( struct sip_msg  *p_msg , struct proxy_l *proxy, int proto,
246 247
 				p_msg->new_uri=ack_uri;
247 248
 				proxy=uri2proxy(&GET_NEXT_HOP(p_msg), proto);
248 249
 				if (proxy==0) continue;
249
-				forward_request(p_msg, proxy, proto->proto);
250
+				forward_request(p_msg, proxy, proxy->proto);
250 251
 				free_proxy( proxy );	
251 252
 				pkg_free( proxy );
252 253
 			}
... ...
@@ -259,7 +260,7 @@ int t_relay_to( struct sip_msg  *p_msg , struct proxy_l *proxy, int proto,
259 260
 			init_branch_iterator();
260 261
 			while((ack_uri.s=next_branch(&ack_uri.len))) {
261 262
 				p_msg->new_uri=ack_uri;
262
-				forward_request(p_msg, proxy, proto);
263
+				forward_request(p_msg, proxy, proxy->proto);
263 264
 			}
264 265
 			p_msg->new_uri=backup_uri;
265 266
 #endif