fix missed var rename
authorKen Raeburn <raeburn@mit.edu>
Mon, 5 Jan 2009 22:56:00 +0000 (22:56 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 5 Jan 2009 22:56:00 +0000 (22:56 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21704 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/pac.c

index 9aaff954f36006339d1da2397766a94f574a235a..ca7bdce5141899e1fd760bda26c45b51107af6f3 100644 (file)
@@ -384,7 +384,7 @@ k5_time_to_seconds_since_1970(krb5_ui_8 ntTime, krb5_timestamp *elapsedSeconds)
 
     ntTime /= 10000000;
 
-    abstime = time > 0 ? ntTime - NT_TIME_EPOCH : -ntTime;
+    abstime = ntTime > 0 ? ntTime - NT_TIME_EPOCH : -ntTime;
 
     if (abstime > KRB5_INT32_MAX)
        return ERANGE;