summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2012-02-05 14:31:50 +0100
committerGravatar Jeix <devnull@localhost> 2012-02-05 14:31:50 +0100
commit7bd2ffe0e50efea468efaec28abace2055dab42d (patch)
tree2fc9547a5a4679a197aebde63b1e9b1f7f4bf7d5 /module/plugins
parentTreat most errors as tempfailures, this will solve the missing errors. (diff)
downloadpyload-7bd2ffe0e50efea468efaec28abace2055dab42d.tar.xz
closed #261
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/Xdcc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hoster/Xdcc.py b/module/plugins/hoster/Xdcc.py
index 7d83b050c..6f0a1b176 100644
--- a/module/plugins/hoster/Xdcc.py
+++ b/module/plugins/hoster/Xdcc.py
@@ -215,7 +215,7 @@ class Xdcc(Hoster):
self.log.info("XDCC: Downloading %s from %s:%d" % (packname, ip, port))
self.pyfile.setStatus("downloading")
- newname = self.req.download(ip, port, filename, self.pyfile.setProgress)
+ newname = self.req.download(ip, port, filename, sock, self.pyfile.setProgress)
if newname and newname != filename:
self.log.info("%(name)s saved as %(newname)s" % {"name": self.pyfile.name, "newname": newname})
filename = newname
@@ -227,4 +227,3 @@ class Xdcc(Hoster):
self.lastDownload = filename
return self.lastDownload
-