Module Name: src
Committed By: christos
Date: Fri Apr 2 15:19:03 UTC 2010
Modified Files:
src/crypto/dist/heimdal/appl/otp: otp.c
Log Message:
make it obvious what ctime is used for.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/crypto/dist/heimdal/appl/otp/otp.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/appl/otp/otp.c
diff -u src/crypto/dist/heimdal/appl/otp/otp.c:1.5 src/crypto/dist/heimdal/appl/otp/otp.c:1.6
--- src/crypto/dist/heimdal/appl/otp/otp.c:1.5 Sat Mar 22 04:36:55 2008
+++ src/crypto/dist/heimdal/appl/otp/otp.c Fri Apr 2 11:19:02 2010
@@ -35,7 +35,7 @@
#include <getarg.h>
__RCSID("$Heimdal: otp.c 12753 2003-09-03 09:37:03Z lha $"
- "$NetBSD: otp.c,v 1.5 2008/03/22 08:36:55 mlelstv Exp $");
+ "$NetBSD: otp.c,v 1.6 2010/04/02 15:19:02 christos Exp $");
static int listp;
static int deletep;
@@ -234,9 +234,7 @@
"%s\totp-%s %d %s",
ctx.user, ctx.alg->name, ctx.n, ctx.seed);
if (ctx.lock_time)
- fprintf(stdout,
- "\tlocked since %s",
- ctime(&ctx.lock_time));
+ fprintf(stdout, "\tlocked since %s", ctime(&ctx.lock_time));
else
fprintf(stdout, "\n");
}