projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a48d08
)
variable name
author
Joey Hess
<joeyh@joeyh.name>
Mon, 22 Jul 2024 20:50:11 +0000
(16:50 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Mon, 22 Jul 2024 20:50:11 +0000
(16:50 -0400)
P2P/Http.hs
patch
|
blob
|
history
diff --git
a/P2P/Http.hs
b/P2P/Http.hs
index 330d5a96ccc01615dfb349c197f13b6a60b508a3..907fb59a783b06901975b7b465eb7f34be0ca41a 100644
(file)
--- a/
P2P/Http.hs
+++ b/
P2P/Http.hs
@@
-885,8
+885,8
@@
clientKeepLocked clientenv (ProtocolVersion ver) lckid cu su bypass keeplocked =
S.Yield (UnlockRequest False) $ S.Effect $ do
liftIO $ print "sent keep locked request"
return $ S.Effect $ do
- stilllock <- liftIO $ atomically $ takeTMVar keeplocked
- if stilllock
+ stilllock
ed
<- liftIO $ atomically $ takeTMVar keeplocked
+ if stilllock
ed
then return unlocksender
else do
liftIO $ print "sending unlock request"