Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/heimdal/appl/otp make it obvious what ctime is u...



details:   https://anonhg.NetBSD.org/src/rev/4a027b4642fa
branches:  trunk
changeset: 753570:4a027b4642fa
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 02 15:19:02 2010 +0000

description:
make it obvious what ctime is used for.

diffstat:

 crypto/dist/heimdal/appl/otp/otp.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r cca93a5c325a -r 4a027b4642fa crypto/dist/heimdal/appl/otp/otp.c
--- a/crypto/dist/heimdal/appl/otp/otp.c        Fri Apr 02 15:13:26 2010 +0000
+++ b/crypto/dist/heimdal/appl/otp/otp.c        Fri Apr 02 15:19:02 2010 +0000
@@ -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");
     }



Home | Main Index | Thread Index | Old Index