Changeset 6fda350


Ignore:
Timestamp:
2006-01-15T16:41:55Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f4a5940
Parents:
74c119d
Message:

Fixed a bug in url.c that interpreted all http-urls as https.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • url.c

    r74c119d r6fda350  
    4040        else
    4141        {
    42                 if( g_strncasecmp( set_url, "https", i - set_url ) == 0 )
     42                if( g_strncasecmp( set_url, "http", i - set_url ) == 0 )
     43                        url->proto = PROTO_HTTP;
     44                else if( g_strncasecmp( set_url, "https", i - set_url ) == 0 )
    4345                        url->proto = PROTO_HTTPS;
    44                 else if( g_strncasecmp( set_url, "http", i - set_url ) == 0 )
    45                         url->proto = PROTO_HTTP;
    4646                else if( g_strncasecmp( set_url, "socks4", i - set_url ) == 0 )
    4747                        url->proto = PROTO_SOCKS4;
Note: See TracChangeset for help on using the changeset viewer.