summaryrefslogtreecommitdiff
path: root/dht
diff options
context:
space:
mode:
Diffstat (limited to 'dht')
-rw-r--r--dht/examples/dhtd.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/examples/dhtd.hs b/dht/examples/dhtd.hs
index ed0feacb..984afeed 100644
--- a/dht/examples/dhtd.hs
+++ b/dht/examples/dhtd.hs
@@ -1909,7 +1909,7 @@ main = do
1909 , mbTox = mbtox 1909 , mbTox = mbtox
1910 , sessionsVar = ssvar 1910 , sessionsVar = ssvar
1911 } 1911 }
1912 srv <- streamServer (withSession session) [SockAddrUnix "dht.sock"] 1912 srv <- forkStreamServer (withSession session) [SockAddrUnix "dht.sock"]
1913 return ( do atomically $ readTVar signalQuit >>= check 1913 return ( do atomically $ readTVar signalQuit >>= check
1914 quitListening srv 1914 quitListening srv
1915 , readTVar signalQuit >>= check 1915 , readTVar signalQuit >>= check