improve indent
This commit is contained in:
parent
1a0620fdf8
commit
4a3f1a15c5
1 changed files with 4 additions and 4 deletions
|
@ -164,10 +164,10 @@ runNet runst conn runner f = case f of
|
||||||
Left e -> return (Left (show e))
|
Left e -> return (Left (show e))
|
||||||
Right Nothing -> return (Left "protocol error")
|
Right Nothing -> return (Left "protocol error")
|
||||||
Right (Just l) -> case parseMessage l of
|
Right (Just l) -> case parseMessage l of
|
||||||
Just m -> do
|
Just m -> do
|
||||||
liftIO $ debugMessage "P2P <" m
|
liftIO $ debugMessage "P2P <" m
|
||||||
runner (next (Just m))
|
runner (next (Just m))
|
||||||
Nothing -> runner (next Nothing)
|
Nothing -> runner (next Nothing)
|
||||||
SendBytes len b p next -> do
|
SendBytes len b p next -> do
|
||||||
v <- liftIO $ tryNonAsync $ do
|
v <- liftIO $ tryNonAsync $ do
|
||||||
ok <- sendExactly len b (connOhdl conn) p
|
ok <- sendExactly len b (connOhdl conn) p
|
||||||
|
|
Loading…
Reference in a new issue