Skip to content

Instantly share code, notes, and snippets.

@hildred
hildred / pipesocket.patch
Last active October 13, 2016 20:58 — forked from hifi/pipesocket.patch
TigerVNC SSH pipe
diff --git a/common/network/Socket.h b/common/network/Socket.h
index 378a900..11a4318 100644
--- a/common/network/Socket.h
+++ b/common/network/Socket.h
@@ -43,7 +43,7 @@ namespace network {
}
rdr::FdInStream &inStream() {return *instream;}
rdr::FdOutStream &outStream() {return *outstream;}
- int getFd() {return outstream->getFd();}
+ int getFd() {return instream->getFd();}