From b77cef01a904d536515f916482b2903fb4b0e40b Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Wed, 26 Dec 2007 21:56:47 +0000 Subject: [PATCH] Re-indent. --- src/lastlog.c | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/src/lastlog.c b/src/lastlog.c index b8e975f7..d8c44210 100644 --- a/src/lastlog.c +++ b/src/lastlog.c @@ -128,29 +128,27 @@ static void print (void) { off_t offset; - { - setpwent (); - while ((pwent = getpwent ())) { - user = pwent->pw_uid; - if (uflg && - ((umin != -1 && user < umin) || - (umax != -1 && user > umax))) - continue; - offset = user * sizeof lastlog; + setpwent (); + while ((pwent = getpwent ())) { + user = pwent->pw_uid; + if (uflg && + ((umin != -1 && user < umin) || + (umax != -1 && user > umax))) + continue; + offset = user * sizeof lastlog; - fseeko (lastlogfile, offset, SEEK_SET); - if (fread ((char *) &lastlog, sizeof lastlog, 1, - lastlogfile) != 1) - continue; + fseeko (lastlogfile, offset, SEEK_SET); + if (fread ((char *) &lastlog, sizeof lastlog, 1, + lastlogfile) != 1) + continue; - if (tflg && NOW - lastlog.ll_time > seconds) - continue; + if (tflg && NOW - lastlog.ll_time > seconds) + continue; - if (bflg && NOW - lastlog.ll_time < inverse_seconds) - continue; + if (bflg && NOW - lastlog.ll_time < inverse_seconds) + continue; - print_one (pwent); - } + print_one (pwent); } }