mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix/remove some incorrect uses of the arrsize macro
This commit is contained in:
@ -102,7 +102,9 @@ static void LookupProcess (Lookup * lookup, unsigned error) {
|
||||
in_addr const * const * const inAddr = (in_addr **) host.h_addr_list;
|
||||
|
||||
// allocate a buffer large enough to hold all the addresses
|
||||
size_t count = arrsize(inAddr);
|
||||
size_t count = 0;
|
||||
while (inAddr[count])
|
||||
++count;
|
||||
plNetAddress* addrs = new plNetAddress[count];
|
||||
|
||||
// fill in address data
|
||||
|
Reference in New Issue
Block a user