rem: int i;
context: LogError(char *func){    int i;    char *h, *e, buf[20];#ifdef NEED_HERRNO    extern int h_errno;#endif    i = h_errno;    e = NULL;    switch (i) {	case HOST_NOT_FOUND:	    /* Log nothing. */	    return;	    break;	case TRY_AGAIN:	    h = "temporary error - try again";	    break;	case NO_RECOVERY:	    h = "unexpected server failure";	    break;	case NO_DATA:	    h = "no valid IP address";	    break;#ifdef NETDB_INTERNAL	case NETDB_INTERNAL:	    h = "netdb internal error: ";	    e = strerror(errno);	    break;#endif	default:	    sprintf(buf, "unknown error #%d", i);	    h = buf;    }    Ns_Log(Error, "dns: %s failed: %s%s", func, h, e ? e : "");}