summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-28 14:43:20 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-28 14:43:20 -0400
commitbbbc725c45f0b25c8da92d002a0ca3ffd2b8efdc (patch)
tree07439125657e5c00c871c68b61b53f220d837fd0
parente48f551505b3923d7c17e3b42330060e84129673 (diff)
fix warning
-rw-r--r--Logs/Transfer.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Logs/Transfer.hs b/Logs/Transfer.hs
index 39cae1106..fbfd0a427 100644
--- a/Logs/Transfer.hs
+++ b/Logs/Transfer.hs
@@ -385,8 +385,8 @@ readTransferInfo mpid s = TransferInfo
<*> pure False
where
#ifdef mingw32_HOST_OS
- (firstline, rem) = separate (== '\n') s
- (secondline, rest) = separate (== '\n') rem
+ (firstline, otherlines) = separate (== '\n') s
+ (secondline, rest) = separate (== '\n') otherlines
mpid' = readish secondline
#else
(firstline, rest) = separate (== '\n') s