summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/log_entry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/log_entry.cc b/src/lib/log_entry.cc
index d29b56747..99443e34a 100644
--- a/src/lib/log_entry.cc
+++ b/src/lib/log_entry.cc
@@ -50,7 +50,7 @@ LogEntry::get () const
struct tm* t = localtime (&sec);
strftime (buffer, 64, "%c", t);
string a (buffer);
- s << a.substr (0, a.length() - 1) << N_(": ");
+ s << a << N_(": ");
}
if (_type & TYPE_ERROR) {