Browse code

- bug in via_builder fixed (typo)

Andrei Pelinescu-Onciul authored on 24/01/2003 18:25:00
Showing 1 changed files
... ...
@@ -1007,8 +1007,8 @@ char* via_builder( unsigned int *len,
1007 1007
 	max_len=MY_VIA_LEN+send_sock->address_str.len /* space in MY_VIA */
1008 1008
 		+2 /* just in case it is a v6 address ... [ ] */
1009 1009
 		+send_sock->port_no_str.len
1010
-		+(branch)?(MY_BRANCH_LEN+branch->len):0
1011
-		+(extra_params)?extra_params->len:0
1010
+		+(branch?(MY_BRANCH_LEN+branch->len):0)
1011
+		+(extra_params?extra_params->len:0)
1012 1012
 		+CRLF_LEN+1;
1013 1013
 	line_buf=pkg_malloc( max_len );
1014 1014
 	if (line_buf==0){