Unverified Commit ea5e7182 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #1444 from Crunkle/v1.x

Fix Windows event log sink
parents c9e094d9 d38d53d9
......@@ -219,7 +219,7 @@ protected:
using namespace internal;
memory_buf_t formatted;
formatter_->format(msg, formatted);
base_sink<Mutex>::formatter_->format(msg, formatted);
formatted.push_back('\0');
LPCSTR lp_str = static_cast<LPCSTR>(formatted.data());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment