Closed N-R-K closed 1 year ago
this dynamically allocates a buffer for hostname if the local buf isn't big enough.
buf
also change the buf size from 20 to 256 (which is HOST_NAME_MAX + 1) for most systems.
Marking this as draft as the fix in #250 seems like a better solution.
Closed due to #250
this dynamically allocates a buffer for hostname if the local
buf
isn't big enough.also change the
buf
size from 20 to 256 (which is HOST_NAME_MAX + 1) for most systems.