]> andersk Git - openssh.git/blobdiff - logintest.c
Backed out previous changes - 'tolerance' setting may just hide a bug in
[openssh.git] / logintest.c
index 91609aaf147abf72857201c8584ff370cfb21d18..c7a3be625fc1543c488c1b028f2ffdb57fe5c65e 100644 (file)
@@ -175,12 +175,12 @@ int testAPI()
     printf("The lastlog times before and after logging in are the "
           "same.\nThis indicates that lastlog is ** NOT WORKING "
           "CORRECTLY **\n");
-  else if ( abs(t2-t0) >2 )  /* allow a small tolerance for slow systems */
+  else if (t0 != t2)
     printf("** The login time and the lastlog time differ.\n"
           "** This indicates that lastlog is either recording the "
           "wrong time,\n** or retrieving the wrong entry.\n");
   else
-    printf("lastlog seems to agree with the login time. This is a good thing.\n");
+    printf("lastlog agrees with the login time. This is a good thing.\n");
 
 #endif
 
This page took 0.047748 seconds and 4 git commands to generate.