diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-11-20 16:42:18 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-11-20 16:42:18 -0400 |
commit | 849256634ad1234f9957532e0131e0e2b491bdeb (patch) | |
tree | 1feba99e261107f0e5c2ad8e724df57bbb3b9fa0 /RemoteDaemon | |
parent | dce8e76ef443e33d88b8301c86ebf080fceff511 (diff) |
improve p2p protocol implementation
Tested it in ghci a little now.
Diffstat (limited to 'RemoteDaemon')
-rw-r--r-- | RemoteDaemon/Transport/Tor.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RemoteDaemon/Transport/Tor.hs b/RemoteDaemon/Transport/Tor.hs index 1527939b1..da30bf944 100644 --- a/RemoteDaemon/Transport/Tor.hs +++ b/RemoteDaemon/Transport/Tor.hs @@ -46,6 +46,6 @@ server th@(TransportHandle (LocalRepo r) _) = do h <- socketToHandle conn ReadWriteMode hSetBuffering h LineBuffering hSetBinaryMode h False - runNetProtoHandle h r (serve u) + runNetProtoHandle h h r (serve u) hClose h |