aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-06-28 14:47:13 +0200
committerPierre Ossman <ossman@cendio.se>2022-06-28 14:47:13 +0200
commit8e6e77fc6839f61050a4794c36b2da6223a79ae2 (patch)
tree50bc7a92c2e8370af70ef38dd92de20e3f69cda9 /vncviewer
parent9a137eb8e782060c2450d105389a12b324f05763 (diff)
downloadtigervnc-8e6e77fc6839f61050a4794c36b2da6223a79ae2.tar.gz
tigervnc-8e6e77fc6839f61050a4794c36b2da6223a79ae2.zip
Remove unnecessary flush
Uncorking implicitly flushes, so we don't need this.
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/CConn.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx
index 0b90196f..618c5c0d 100644
--- a/vncviewer/CConn.cxx
+++ b/vncviewer/CConn.cxx
@@ -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) {