if (debug) log_d("D hostmatch");
static int hostmatch(const char *s, const char *t){	size_t l;	if (debug)		log_d("D hostmatch");	l = strlen(t);	if (strncasecmp(s, t, l))		return 0;	switch (s[l]) {	case 0:	case ':':		return 1;	case '.':		if (s[l + 1] == 0)			return 1;	}	return 0;}