diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-24 22:10:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-24 22:10:39 +0000 |
| commit | 1c45aa5806a0891025eb4729b9e0c8cfb9c68e44 (patch) | |
| tree | f2ffae30a27ae09b5e4c3930989426f87e798ebf /src/lib/log_entry.cc | |
| parent | 5528d6dfb73a137c620d38dea9e4898e63d93657 (diff) | |
Fix truncated log timestamps in at least some cases.
Diffstat (limited to 'src/lib/log_entry.cc')
| -rw-r--r-- | src/lib/log_entry.cc | 2 |
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) { |
