log(L_DEBUG, "dirmatch(\"%s\", \"%s\")", s, t);
static char *dirmatch(char *s, char *t){	int n = strlen(t);	log(L_DEBUG, "dirmatch(\"%s\", \"%s\")", s, t);	return (strneq(s, t, n) && (s[n] == '/' || s[n] == '\0')) ? s + n : 0;}