Browse code

*** empty log message ***

Bogdan-Andrei Iancu authored on 23/01/2002 21:56:58
Showing 1 changed files
... ...
@@ -194,7 +194,7 @@ int t_forward( struct sip_msg* p_msg , unsigned int dest_ip_param , unsigned int
194 194
 	unsigned int len;
195 195
    	char               *buf, *shbuf;
196 196
 	struct retrans_buff *rb;
197
-	
197
+
198 198
 
199 199
 	buf=NULL;
200 200
 	shbuf = NULL;
... ...
@@ -219,7 +219,7 @@ int t_forward( struct sip_msg* p_msg , unsigned int dest_ip_param , unsigned int
219 219
 
220 220
 	/* if it's forwarded for the first time ; else the request is retransmited
221 221
 	 * from the transaction buffer
222
-	 * when forwarding an ACK, this condition will br all the time false because
222
+	 * when forwarding an ACK, this condition will be all the time false because
223 223
 	 * the forwarded INVITE is in the retransmission buffer */
224 224
 	if ( T->outbound_request[branch]==NULL )
225 225
 	{
... ...
@@ -258,11 +258,11 @@ int t_forward( struct sip_msg* p_msg , unsigned int dest_ip_param , unsigned int
258 258
          		}
259 259
       	}/* end special case CANCEL*/
260 260
 
261
-		if ( add_branch_label( T, T->inbound_request , branch )==-1) 
261
+		if ( add_branch_label( T, T->inbound_request , branch )==-1)
262 262
 			goto error;
263
-		if ( add_branch_label( T, p_msg , branch )==-1) 
263
+		if ( add_branch_label( T, p_msg , branch )==-1)
264 264
 			goto error;
265
-		if ( !(buf = build_req_buf_from_sip_req  ( p_msg, &len))) 
265
+		if ( !(buf = build_req_buf_from_sip_req  ( p_msg, &len)))
266 266
 			goto error;
267 267
 
268 268
 		/* allocates a new retrans_buff for the outbound request */
... ...
@@ -977,6 +977,7 @@ int t_build_and_send_ACK( struct cell *Trans, unsigned int branch, struct sip_ms
977 977
                  len += ((hdr->body.s+hdr->body.len ) - hdr->name.s ) + CRLF_LEN ;
978 978
       else if ( hdr->type==HDR_TO )
979 979
                  len += ((r_msg->to->body.s+r_msg->to->body.len ) - r_msg->to->name.s ) + CRLF_LEN ;
980
+      /*else if ( hdr->type==HDR_)*/
980 981
 
981 982
    /* CSEQ method : from INVITE-> ACK */
982 983
    len -= 3  ;