Revert last commit due to a buffer overflow

This commit is contained in:
timvisee
2018-03-22 18:20:54 +01:00
parent 024ec7974d
commit e113950dfc

View File

@@ -92,8 +92,8 @@ impl Client {
// TODO: only flush each 100 pixels?
// TODO: make flushing configurable?
// TODO: make buffer size configurable?
// self.stream.flush()
// .expect("failed to flush write buffer to server");
self.stream.flush()
.expect("failed to flush write buffer to server");
// Everything seems to be ok
Ok(())