Fix type stdin instead of stdout

This commit is contained in:
Myles Busig 2024-03-27 00:59:10 -06:00
parent 81a44afbb4
commit 002bd5a17a

View File

@ -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();
}