Re-indent.

This commit is contained in:
nekral-guest 2007-12-26 21:56:47 +00:00
parent 3a48f0954c
commit b77cef01a9

View File

@ -128,29 +128,27 @@ static void print (void)
{ {
off_t offset; off_t offset;
{ setpwent ();
setpwent (); while ((pwent = getpwent ())) {
while ((pwent = getpwent ())) { user = pwent->pw_uid;
user = pwent->pw_uid; if (uflg &&
if (uflg && ((umin != -1 && user < umin) ||
((umin != -1 && user < umin) || (umax != -1 && user > umax)))
(umax != -1 && user > umax))) continue;
continue; offset = user * sizeof lastlog;
offset = user * sizeof lastlog;
fseeko (lastlogfile, offset, SEEK_SET); fseeko (lastlogfile, offset, SEEK_SET);
if (fread ((char *) &lastlog, sizeof lastlog, 1, if (fread ((char *) &lastlog, sizeof lastlog, 1,
lastlogfile) != 1) lastlogfile) != 1)
continue; continue;
if (tflg && NOW - lastlog.ll_time > seconds) if (tflg && NOW - lastlog.ll_time > seconds)
continue; continue;
if (bflg && NOW - lastlog.ll_time < inverse_seconds) if (bflg && NOW - lastlog.ll_time < inverse_seconds)
continue; continue;
print_one (pwent); print_one (pwent);
}
} }
} }