log_d("No such virtual server: %.50s", r->host);
log_d("No such virtual server: %s", r->host);
static int find_vs(struct request *r){	struct virtual *v;	char *tmp;	v = r->cn->s->children;	if (r->host) {		while (v) {			if (v->host && hostmatch(r->host, v->host))				break;			v = v->next;		}		if (v == 0) {			log_d("No such virtual server: %.50s", r->host);			return 1;		}		tmp = v->host;	} else {		while (v) {			if (v->host == 0)				break;			v = v->next;		}		tmp = r->cn->s->s_name;		if (tmp == 0)			return -1;		if (v == 0) {			log_d("No old-style server at %s", tmp);			return 1;		}	}	v->nrequests++;	r->vs = v;	r->servername = tmp;	return 0;}