summaryrefslogtreecommitdiff
path: root/Remote/External.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-27 13:22:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-27 13:22:06 -0400
commitaecd7635333cad4bf52649171f629b5172fb8281 (patch)
tree167c5c4d853363a4f79fe6646372f75ae47e8cd3 /Remote/External.hs
parente8bc33fe29ca39d230eb4a9fb36ce6d17dbfef24 (diff)
flush handle after writing message
Diffstat (limited to 'Remote/External.hs')
-rw-r--r--Remote/External.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Remote/External.hs b/Remote/External.hs
index 250719641..3dad99022 100644
--- a/Remote/External.hs
+++ b/Remote/External.hs
@@ -222,6 +222,7 @@ sendMessage lck external m =
liftIO $ do
protocolDebug external True line
hPutStrLn h line
+ hFlush h
where
line = unwords $ formatMessage m