diff options
Diffstat (limited to 'dht/examples/tcpclient.hs')
-rw-r--r-- | dht/examples/tcpclient.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/examples/tcpclient.hs b/dht/examples/tcpclient.hs index d168b1fb..858a617d 100644 --- a/dht/examples/tcpclient.hs +++ b/dht/examples/tcpclient.hs | |||
@@ -16,7 +16,7 @@ main = do | |||
16 | setVerbose XUnexpected | 16 | setVerbose XUnexpected |
17 | crypto <- newCrypto | 17 | crypto <- newCrypto |
18 | (_,client) <- newClient crypto id (\cb p -> cb (Just (False,p))) | 18 | (_,client) <- newClient crypto id (\cb p -> cb (Just (False,p))) |
19 | quitTCP <- forkListener "TCP-recv" (addHandler print (handleMessage client) $ clientNet client) | 19 | quitTCP <- forkListener "TCP-recv" (dput XTCP . (++) "tcp-parse: ") (addHandler print (handleMessage client) $ clientNet client) |
20 | args <- getArgs | 20 | args <- getArgs |
21 | let addr = read $ args !! 0 | 21 | let addr = read $ args !! 0 |
22 | 22 | ||