diff options
Diffstat (limited to 'dpi/https.c')
-rw-r--r-- | dpi/https.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dpi/https.c b/dpi/https.c index bea9de10..c2becdae 100644 --- a/dpi/https.c +++ b/dpi/https.c @@ -360,9 +360,9 @@ static int get_network_connection(char * url) char * url_look_up = NULL; /*Determine how much of url we chop off as unneeded*/ - if (dStrncasecmp(url, "https://", 8) == 0){ + if (dStrnAsciiCasecmp(url, "https://", 8) == 0){ url_offset = 8; - } else if (dStrncasecmp(url, "http://", 7) == 0) { + } else if (dStrnAsciiCasecmp(url, "http://", 7) == 0) { url_offset = 7; portnum = 80; } |