summaryrefslogtreecommitdiff
path: root/examples/dhtd.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dhtd.hs')
-rw-r--r--examples/dhtd.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs
index b845f9df..369650f9 100644
--- a/examples/dhtd.hs
+++ b/examples/dhtd.hs
@@ -1165,7 +1165,7 @@ clientSession s@Session{..} sock cnum h = do
1165 keydb <- atomically $ readTVar toxkeys 1165 keydb <- atomically $ readTVar toxkeys
1166 now <- getPOSIXTime 1166 now <- getPOSIXTime
1167 let entries = map mkentry $ PSQ.toList (Tox.keyByAge keydb) 1167 let entries = map mkentry $ PSQ.toList (Tox.keyByAge keydb)
1168 mkentry (k :-> Down tm) = [ show cnt, show k, show (now - tm) ] 1168 mkentry (k :-> tm) = [ show cnt, show k, show (now - tm) ]
1169 where Just (_,(cnt,_)) = MM.lookup' k (Tox.keyAssoc keydb) 1169 where Just (_,(cnt,_)) = MM.lookup' k (Tox.keyAssoc keydb)
1170 hPutClient h $ showColumns entries 1170 hPutClient h $ showColumns entries
1171 1171