diff --git a/src/log.cpp b/src/log.cpp index 9103e26..ee6de85 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -14,7 +14,7 @@ stream::stream(istring& buf, uint32_t log_level) stream::~stream() { } void stream::flush() { - fwrite(buffer.c_str(), 1, buffer.length(), stdin); + fwrite(buffer.c_str(), 1, buffer.length(), stdout); clear(); }