Skip to content

Commit d0a34dd

Browse files
authored
Merge pull request #330 from laymance/master
Fix for #324 (uploadMirrors not working)
2 parents 7e6b5df + 88b6495 commit d0a34dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/UploadListener.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class UploadListener
1919
if @queue.length()
2020
task = @queue._tasks.head
2121
while task
22-
if task.data.localFilePath == localFilePath && task.data.action == action
22+
if task.data.localFilePath == localFilePath && task.data.action == action && task.data.transport.settings.transport == transport.settings.transport && task.data.transport.settings.hostname == transport.settings.hostname && task.data.transport.settings.port == transport.settings.port && task.data.transport.settings.target == transport.settings.target
2323
task.data.discard = true
2424
task = task.next
2525

0 commit comments

Comments
 (0)