summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-26 23:48:31 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-26 23:48:31 -0400
commitf8a62c444f070b5e7f1ed00a2a322d01da729775 (patch)
treee5ec1becde3b9f05d2fe6b1b1b49cb2732a6960f /debug.h
parentf32f698d7f097234ebabe725e8f8aaa1fa740753 (diff)
downloadfork-ledger-f8a62c444f070b5e7f1ed00a2a322d01da729775.tar.gz
fork-ledger-f8a62c444f070b5e7f1ed00a2a322d01da729775.tar.bz2
fork-ledger-f8a62c444f070b5e7f1ed00a2a322d01da729775.zip
made several of the buffers used non-static
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.h b/debug.h
index 5c7345cf..7d3bb668 100644
--- a/debug.h
+++ b/debug.h
@@ -62,8 +62,8 @@ bool _debug_active(const char * const cls);
#define DEBUG_PRINT_(x) DEBUG_PRINT(_debug_cls, x)
#define DEBUG_PRINT_TIME(cls, x) { \
- char buf[256]; \
- std::strftime(buf, 255, "%Y/%m/%d", std::localtime(&x)); \
+ char buf[16]; \
+ std::strftime(buf, 15, "%Y/%m/%d", std::localtime(&x)); \
DEBUG_PRINT(cls, #x << " is " << buf); \
}