Browse code

bug_fix: setting correct protocol value

Jiri Kuthan authored on 26/04/2003 03:16:38
Showing 1 changed files
... ...
@@ -36,6 +36,7 @@
36 36
  *  2003-03-01  start_retr changed to retransmit only for UDP
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
+ *  2003-04-25  do it (^) really everywhere (jiri)
39 40
  */
40 41
 
41 42
 
... ...
@@ -252,7 +253,7 @@ int t_relay_to( struct sip_msg  *p_msg , struct proxy_l *proxy, int proto,
252 253
 			p_msg->new_uri=backup_uri;
253 254
 #endif
254 255
 		} else {
255
-			ret=forward_request( p_msg , proxy, proto ) ;
256
+			ret=forward_request( p_msg , proxy, proxy->proto ) ;
256 257
 #ifdef ACK_FORKING_HACK
257 258
 			backup_uri=p_msg->new_uri;
258 259
 			init_branch_iterator();