projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5528d6d
)
Fix truncated log timestamps in at least some cases.
author
Carl Hetherington
<cth@carlh.net>
Sun, 24 Jan 2016 22:10:39 +0000
(22:10 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 24 Jan 2016 22:10:39 +0000
(22:10 +0000)
src/lib/log_entry.cc
patch
|
blob
|
history
diff --git
a/src/lib/log_entry.cc
b/src/lib/log_entry.cc
index d29b56747306f0b9a23aff6e3b49c0f678c9d659..99443e34af54fbf55165630c0e77fba811677355 100644
(file)
--- 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);
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) {
}
if (_type & TYPE_ERROR) {