ntp_adjtime(struct ntpd_conf *conf)
ntp_adjtime(void)
ntp_adjtime(struct ntpd_conf *conf){	struct ntp_peer	*p;	double		 offset_median = 0;	int		 offset_cnt = 0;	TAILQ_FOREACH(p, &conf->ntp_peers, entry) {		if (!p->update.good)			continue;		if (p->update.rcvd + REPLY_MAXAGE < time(NULL)) {			p->update.good = 0;			continue;		}		if (p->trustlevel < TRUSTLEVEL_BADPEER)			continue;		offset_median += p->update.offset;		offset_cnt++;	}	if (offset_cnt > 0) {		offset_median /= offset_cnt;		imsg_compose(&ibuf_main, IMSG_ADJTIME, 0,		    &offset_median, sizeof(offset_median));		conf->status.reftime = gettime();		conf->status.leap = LI_NOWARNING;		/* XXX */	}}