- attempt to fix compiler warning about insufficient buffer size

This commit is contained in:
Dmytro Bogovych 2022-10-29 21:31:55 +03:00
parent 95f50d5b43
commit 89de7a7db9
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ std::string NetworkAddress::ip() const
{
assert(mInitialized == true);
char resultbuf[131], ip6[128]; resultbuf[0] = 0;
char resultbuf[160], ip6[160]; resultbuf[0] = 0;
#ifdef TARGET_WIN
DWORD resultsize = sizeof(resultbuf);