Skip to content

Commit

Permalink
Fix a grave bug in the message sender.
Browse files Browse the repository at this point in the history
Rather than use send, we should be using sendAll. This is exactly what
the documentation tells us, yet we didn't.
  • Loading branch information
jlouis committed May 1, 2010
1 parent 9335604 commit c05b61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Process/Peer/Sender.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ pgm = do
s <- asks sock
_ <- liftIO $ do
r <- atomically $ takeTMVar ch
send s r
sendAll s r
pgm

0 comments on commit c05b61e

Please sign in to comment.