This commit is contained in:
Joey Hess 2016-11-29 15:43:34 -04:00
parent 87b325de71
commit 2ad3420c19
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -37,7 +37,7 @@ server th@(TransportHandle (LocalRepo r) _) = do
uid <- getRealUserID
let ident = fromUUID u
let sock = socketFile uid ident
let sock = hiddenServiceSocketFile uid ident
nukeFile sock
soc <- socket AF_UNIX Stream defaultProtocol
bind soc (SockAddrUnix sock)