Mercurial > dropbear
diff svr-session.c @ 433:c216212001fc
Fix for -pedantic -ansi compilation, change // to /**/, plus some signedness
and trailing-comma-in-array issues
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 16 Feb 2007 14:42:08 +0000 |
parents | a588558bfc94 |
children | 7e43f5e473b9 |
line wrap: on
line diff
--- a/svr-session.c Tue Feb 13 10:30:02 2007 +0000 +++ b/svr-session.c Fri Feb 16 14:42:08 2007 +0000 @@ -188,7 +188,7 @@ || strftime(datestr, sizeof(datestr), "%b %d %H:%M:%S", localtime(×ec)) == 0) { - // upon failure, just print the epoch-seconds time. + /* upon failure, just print the epoch-seconds time. */ snprintf(datestr, sizeof(datestr), "%d", timesec); } fprintf(stderr, "[%d] %s %s\n", getpid(), datestr, printbuf);