Fix type stdin instead of stdout

This commit is contained in:
Madeline Busig 2024-03-27 00:59:10 -06:00
parent 3efafa84c2
commit 4e56cb5269

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