From 4e56cb5269ae0b8ba760ba0aba87158c8bf5183a Mon Sep 17 00:00:00 2001 From: Madeline Busig Date: Wed, 27 Mar 2024 00:59:10 -0600 Subject: [PATCH] Fix type stdin instead of stdout --- src/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }