diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-01-20 13:22:30 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-01-20 13:22:30 +0100 | 
| commit | 55ec2d66f04d1ea96e180c5a46e90a4294dea0b1 (patch) | |
| tree | 80b81694345d71838ded20c326e12f47423e08d9 /url.c | |
| parent | fc50d482ae5a7836fbf7c72df168b51d1cf714a5 (diff) | |
| parent | b8c2ace5985879a4c13d366756eb5e444a240ec9 (diff) | |
Merging IPC branch, it's too different from the main code to keep it
separated (and it's pretty stable now). Have fun. :-)
Diffstat (limited to 'url.c')
| -rw-r--r-- | url.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -39,10 +39,10 @@ int url_set( url_t *url, char *set_url )  	}  	else  	{ -		if( g_strncasecmp( set_url, "https", i - set_url ) == 0 ) -			url->proto = PROTO_HTTPS; -		else if( g_strncasecmp( set_url, "http", i - set_url ) == 0 ) +		if( g_strncasecmp( set_url, "http", i - set_url ) == 0 )  			url->proto = PROTO_HTTP; +		else if( g_strncasecmp( set_url, "https", i - set_url ) == 0 ) +			url->proto = PROTO_HTTPS;  		else if( g_strncasecmp( set_url, "socks4", i - set_url ) == 0 )  			url->proto = PROTO_SOCKS4;  		else if( g_strncasecmp( set_url, "socks5", i - set_url ) == 0 ) | 
