diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-08-05 15:04:39 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-08-05 15:04:39 +0100 |
commit | 55b583f6c31af475f329da97cd160a8ab2e8df8c (patch) | |
tree | 6d35407fbbc1793322469a0ebf9ded1c9008966d /src | |
parent | fca5cb18a75fef98293e4afdc1d5fcad45230818 (diff) |
tidying
Diffstat (limited to 'src')
-rw-r--r-- | src/src/debug.c | 2 | ||||
-rw-r--r-- | src/src/macro_predef.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/src/debug.c b/src/src/debug.c index f6c8b2f62..7a2e65632 100644 --- a/src/src/debug.c +++ b/src/src/debug.c @@ -188,7 +188,7 @@ if (debug_ptr == debug_buffer) gettimeofday(&now, NULL); tmp = now.tv_sec; - t = timestamps_utc ? gmtime(&now) : localtime(&now); + t = timestamps_utc ? gmtime(&tmp) : localtime(&tmp); debug_ptr += sprintf(CS debug_ptr, LOGGING(millisec) ? "%02d:%02d:%02d.%03d " : "%02d:%02d:%02d ", t->tm_hour, t->tm_min, t->tm_sec, now.tv_usec/1000); diff --git a/src/src/macro_predef.c b/src/src/macro_predef.c index 59579a373..502bfc7ee 100644 --- a/src/src/macro_predef.c +++ b/src/src/macro_predef.c @@ -29,7 +29,7 @@ if (mp_index == 0) else printf("&p%d,", mp_index-1); -printf(" FALSE, %d, 1, \"%s\", \"y\" };\n", Ustrlen(name), CS name); +printf(" FALSE, %d, 1, US\"%s\", US\"y\" };\n", Ustrlen(name), CS name); mp_index++; } |