SCCS-vsn: usr.sbin/timed/timed/timed.c 2.2
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)timed.c 2.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)timed.c 2.2 (Berkeley) %G%";
#endif not lint
#include "globals.h"
#endif not lint
#include "globals.h"
case 1:
/* from slave */
for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
case 1:
/* from slave */
for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
- if (ntp->status = SLAVE)
+ if (ntp->status == SLAVE)
break;
}
ntp->status = election(ntp);
break;
}
ntp->status = election(ntp);