Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed logging formay

  • Loading branch information...
commit cb8970c9b5fc61c30310355dcc0d6850fd503fa7 1 parent 78a0071
@mwolf76 authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/logging.hh
View
3  src/logging.hh
@@ -44,7 +44,8 @@ namespace axter {
ostringstream oss;
ftime(&now);
- string timestr = ctime(&now.time); // if (tmp.size()) tmp[tmp.size() -1] = ']';
+ string timestr = ctime(&now.time);
+ if (timestr.size()) timestr[timestr.size() -1] = ']';
oss << "[" << timestr << "." << now.millitm << " "
<< filename << ":" << LineNo << " :: " ;
Please sign in to comment.
Something went wrong with that request. Please try again.