From 77577c970c68ecb01c66a9fdd92cec6247cb0ccc Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 6 Jul 1995 23:35:09 +0000 Subject: [PATCH] fixed some comments --- check.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check.c b/check.c index 91f53073f..bc6687c7e 100644 --- a/check.c +++ b/check.c @@ -218,7 +218,6 @@ static int check_timestamp() /* * if all the directories are stat()able */ - /* XXX - make this readable!!! */ if (timedir_is_good) { /* * last component in _PATH_SUDO_TIMEDIR must be owned by root @@ -232,7 +231,8 @@ static int check_timestamp() } else if (stat(timestampfile, &statbuf)) { /* timestamp file does not exist? */ timestamp_is_old = 2; /* return (2) */ - } else { /* otherwise, check the time */ + } else { + /* check the time against the timestamp file */ now = time((time_t *) NULL); if (TIMEOUT && now - statbuf.st_mtime < 60 * TIMEOUT) /* check for bogus time on the stampfile */ @@ -257,7 +257,7 @@ static int check_timestamp() perror("check_timestamp: mkdir"); timedir_is_good = 0; } else { - timedir_is_good = 1;/* _PATH_SUDO_TIMEDIR now exists */ + timedir_is_good = 1; /* _PATH_SUDO_TIMEDIR now exists */ } }