diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2006-02-12 20:26:20 +1300 | 
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2006-02-12 20:26:20 +1300 | 
| commit | 5ebe625399d5116e222d6389434f645e906265ec (patch) | |
| tree | 91a48ae6564ed891a23b1f5de2f630185fd0b39d /url.c | |
| parent | a323a22773714a19254db34156500a67e5916451 (diff) | |
| parent | 58bc4e69967a8feec0a60dfab716985191c12817 (diff) | |
Merge
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 ) | 
