- if ((uf = fopen (UTMP_FILE, "r")) == NULL)
- exit (RCV_MBX);
- while (fread ((char *) &ut, sizeof(ut), 1, uf) == 1)
- if (ut.ut_name[0] != 0
- && strncmp (user, ut.ut_name, sizeof(ut.ut_name)) == 0) {
- strncpy (tty, ut.ut_line, sizeof(ut.ut_line));
- alert (tty, md);
+ if ((uf = fopen(UTMP_FILE, "r")) == NULL)
+ exit(RCV_MBX);
+ while (fread((char *) &ut, sizeof(ut), 1, uf) == 1)
+ if (ut.ut_name[0] != 0 &&
+ strncmp(user, ut.ut_name, sizeof(ut.ut_name))
+ == 0) {
+ strncpy(tty, ut.ut_line, sizeof(ut.ut_line));
+ alert(tty, md);