Fix type stdin instead of stdout
This commit is contained in:
parent
81a44afbb4
commit
002bd5a17a
@ -14,7 +14,7 @@ stream::stream(istring& buf, uint32_t log_level)
|
|||||||
stream::~stream() { }
|
stream::~stream() { }
|
||||||
|
|
||||||
void stream::flush() {
|
void stream::flush() {
|
||||||
fwrite(buffer.c_str(), 1, buffer.length(), stdin);
|
fwrite(buffer.c_str(), 1, buffer.length(), stdout);
|
||||||
clear();
|
clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user