Roy Marples wrote:
We could drop the hostname[size] = '\0'; though as strncpy will do that for us.
Of course I meant strlcpy, but we're using strncpy. I don't know if strlcpy is available in libsa, but I'll find out. Thanks Roy