From 002bd5a17a50f8e2f993df6384449600b6665702 Mon Sep 17 00:00:00 2001 From: Myles 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(); }