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))
|
||||
Right Nothing -> return (Left "protocol error")
|
||||
Right (Just l) -> case parseMessage l of
|
||||
Just m -> do
|
||||
liftIO $ debugMessage "P2P <" m
|
||||
runner (next (Just m))
|
||||
Nothing -> runner (next Nothing)
|
||||
Just m -> do
|
||||
liftIO $ debugMessage "P2P <" m
|
||||
runner (next (Just m))
|
||||
Nothing -> runner (next Nothing)
|
||||
SendBytes len b p next -> do
|
||||
v <- liftIO $ tryNonAsync $ do
|
||||
ok <- sendExactly len b (connOhdl conn) p
|
||||
|
|
Loading…
Reference in a new issue