summaryrefslogtreecommitdiff
path: root/examples/dhtd.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dhtd.hs')
-rw-r--r--examples/dhtd.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs
index bb491bfc..eaf908f8 100644
--- a/examples/dhtd.hs
+++ b/examples/dhtd.hs
@@ -800,7 +800,9 @@ clientSession s@Session{..} sock cnum h = do
800 r <- parseResult tokenstr 800 r <- parseResult tokenstr
801 return $ case selectedKey of 801 return $ case selectedKey of
802 Nothing -> hPutClient h "Missing secret user-key." 802 Nothing -> hPutClient h "Missing secret user-key."
803 Just k -> asend k dta r 803 Just k -> do
804 asend k dta r
805 hPutClient h "Sent."
804 maybe (hPutClient h ("Unsupported method: "++method)) 806 maybe (hPutClient h ("Unsupported method: "++method))
805 goTarget 807 goTarget
806 $ Map.lookup method dhtAnnouncables 808 $ Map.lookup method dhtAnnouncables