Swap encrypt/decrypt (makes encryption with rdesktop work)
[rdpsrv] / tcp.c
diff --git a/tcp.c b/tcp.c
index 30aecad..0ae0d76 100644 (file)
--- a/tcp.c
+++ b/tcp.c
@@ -256,3 +256,9 @@ tcp_disconnect(void)
 {
        close(sock);
 }
+
+// hack? :-)
+int tcp_get_socket(void)
+{
+       return sock;
+}