Fix type stdin instead of stdout
This commit is contained in:
parent
3efafa84c2
commit
4e56cb5269
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user