From c14b0d3b3b50a39962ebc9aee8d5213fa27bd2a4 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 29 Aug 2012 15:52:10 +0200 Subject: [PATCH] error: fix Timestamp --- src/error.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.cpp b/src/error.cpp index 06671106..2da3e771 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -28,7 +28,7 @@ namespace { const char *Timestamp() { - char result[32]; + static char result[32]; time_t raw; tm *t; time(&raw);