Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/heimdal/kuser make it obvious to grep that ctime...
details: https://anonhg.NetBSD.org/src/rev/93545d823ce0
branches: trunk
changeset: 753573:93545d823ce0
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 02 15:25:04 2010 +0000
description:
make it obvious to grep that ctime is being checked.
diffstat:
crypto/dist/heimdal/kuser/klist.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r a5a28776f90e -r 93545d823ce0 crypto/dist/heimdal/kuser/klist.c
--- a/crypto/dist/heimdal/kuser/klist.c Fri Apr 02 15:24:18 2010 +0000
+++ b/crypto/dist/heimdal/kuser/klist.c Fri Apr 02 15:25:04 2010 +0000
@@ -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));
Home |
Main Index |
Thread Index |
Old Index