Call Flow: fixed a crash checking local IP addresses. #89

This commit is contained in:
Kaian 2016-02-01 11:55:56 +01:00
parent 7c86359922
commit 50e325c230
1 changed files with 1 additions and 1 deletions

View File

@ -1149,7 +1149,7 @@ lookup_hostname(const char *address)
int
is_local_address_str(const char *address)
{
char straddress[ADDRESSLEN], *end;
char straddress[ADDRESSPORTLEN], *end;
strcpy(straddress, address);
// If address comes with port, remove it
if ((end = strchr(straddress, ':')))