summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-02-16 14:42:08 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-02-16 14:42:08 +0000
commit7f12251fbb2acefac04e13a7c6a95ca4dd4b5578 (patch)
tree90cd5a5a89b66f3ebcd55ba047d78159348fe27e /svr-session.c
parent41fd735d4b7918b3285ed40c8c5756ef07a70f04 (diff)
Fix for -pedantic -ansi compilation, change // to /**/, plus some signedness
and trailing-comma-in-array issues --HG-- extra : convert_revision : c22be8b8f570b48e9662dac32c7b3e7148a42206
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-session.c b/svr-session.c
index fe78bcc..3701597 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -188,7 +188,7 @@ void svr_dropbear_log(int priority, const char* format, va_list param) {
|| strftime(datestr, sizeof(datestr), "%b %d %H:%M:%S",
localtime(&timesec)) == 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);