diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-29 13:37:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-29 13:37:26 -0400 |
commit | ebd8362d58036a75f8aaf4ad0b69ba57d3c77a0e (patch) | |
tree | 60f49f2cac8981d3844cb6858d5283832a2b6225 /Command/InitRemote.hs | |
parent | 09e77a0cf0ca6e6c76ead584f16818dcf04a94b6 (diff) |
fix bug in transfer initiation checking
Putting the transfer on the currentTransfers atomically introduced a bug:
It checks to see if the transfer is in progress, and cancels it.
Fixed by moving that check inside the STM transaction.
Diffstat (limited to 'Command/InitRemote.hs')
0 files changed, 0 insertions, 0 deletions