Update gethnamaddr.c