Browse Source

Bug fix missing parens in log call to Id::name()

cl-refactor
Daniel Hams 11 years ago
parent
commit
09677d9f3e
  1. 2
      libethereum/Common.h

2
libethereum/Common.h

@ -216,7 +216,7 @@ public:
char buf[24];
if (strftime(buf, 24, "%X", localtime(&rawTime)) == 0)
buf[0] = '\0'; // empty if case strftime fails
sstr << Id::name << " [ " << buf << " | " << *(t_logThreadName.m_name.get()) << (_term ? " ] " : "");
sstr << Id::name() << " [ " << buf << " | " << *(t_logThreadName.m_name.get()) << (_term ? " ] " : "");
}
}
~LogOutputStream() { if (Id::verbosity <= g_logVerbosity) g_logPost(sstr.str(), Id::name()); }

Loading…
Cancel
Save