diff options
Diffstat (limited to 'dpi/https.c')
-rw-r--r-- | dpi/https.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpi/https.c b/dpi/https.c index 294dc332..c90c4a40 100644 --- a/dpi/https.c +++ b/dpi/https.c @@ -308,7 +308,7 @@ static int get_network_connection(char * url) /*Check for port number*/ if (strchr(url+url_offset, ':') == (url + url_offset + url_look_up_length)){ - portnum = atoi(url + url_offset + url_look_up_length + 1); + portnum = strtol(url + url_offset + url_look_up_length + 1, NULL, 10); } } else { url_look_up = url + url_offset; |