Module Name:    src
Committed By:   christos
Date:           Fri Apr  2 15:25:04 UTC 2010

Modified Files:
        src/crypto/dist/heimdal/kuser: klist.c

Log Message:
make it obvious to grep that ctime is being checked.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/crypto/dist/heimdal/kuser/klist.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/dist/heimdal/kuser/klist.c
diff -u src/crypto/dist/heimdal/kuser/klist.c:1.10 src/crypto/dist/heimdal/kuser/klist.c:1.11
--- src/crypto/dist/heimdal/kuser/klist.c:1.10	Fri Apr  2 11:23:17 2010
+++ src/crypto/dist/heimdal/kuser/klist.c	Fri Apr  2 11:25:04 2010
@@ -35,14 +35,14 @@
 #include "rtbl.h"
 
 __RCSID("$Heimdal: klist.c 20516 2007-04-22 10:40:41Z lha $"
-        "$NetBSD: klist.c,v 1.10 2010/04/02 15:23:17 christos Exp $");
+        "$NetBSD: klist.c,v 1.11 2010/04/02 15:25:04 christos Exp $");
 
 static char*
 printable_time_internal(time_t t, int x)
 {
     static char s[128];
-    char *p = ctime(&t);
-    if (p == NULL)
+    char *p;
+    if ((p = ctime(&t)) == NULL)
 	strlcpy(s, "?", sizeof(s));
     else {
 	strlcpy(s, p + 4, sizeof(s));

Reply via email to