Skip to content

Commit

Permalink
Remove unnecessary flush
Browse files Browse the repository at this point in the history
Uncorking implicitly flushes, so we don't need this.
  • Loading branch information
CendioOssman committed Jun 28, 2022
1 parent 9a137eb commit 8e6e77f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vncviewer/CConn.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ void CConn::socketEvent(FL_SOCKET fd, void *data)
}

cc->sock->outStream().cork(false);
cc->sock->outStream().flush();
} catch (rdr::EndOfStream& e) {
vlog.info("%s", e.str());
if (!cc->desktop) {
Expand Down

0 comments on commit 8e6e77f

Please sign in to comment.