]> granicus.if.org Git - sudo/commitdiff
fix I_TS_TIMEOUT vs. I_TIMESTAMP_TIMEOUT pasto in previous commit
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 2 Nov 2001 20:59:22 +0000 (20:59 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 2 Nov 2001 20:59:22 +0000 (20:59 +0000)
check.c

diff --git a/check.c b/check.c
index fc68649216007ff97f3b83ae400cee2217663fbe..eb71f8cc454b9344bd5669afbda1b2a0e7c4b30a 100644 (file)
--- a/check.c
+++ b/check.c
@@ -425,7 +425,7 @@ timestamp_status(timestampdir, timestampfile, user, make_dirs)
      */
     if (status == TS_OLD) {
        /* Negative timeouts only expire manually (sudo -k). */
-       if (def_ival(I_TS_TIMEOUT) < 0 && sb.st_mtime != 0)
+       if (def_ival(I_TIMESTAMP_TIMEOUT) < 0 && sb.st_mtime != 0)
            status = TS_CURRENT;
        else {
            now = time(NULL);