Explorar o código

Merge branch 'FloGa-bugfix/unauthorized-call-in-aria2mon'

Tatsuhiro Tsujikawa %!s(int64=9) %!d(string=hai) anos
pai
achega
7c1d138143
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      doc/xmlrpc/aria2mon

+ 1 - 1
doc/xmlrpc/aria2mon

@@ -140,7 +140,7 @@ result.each { |entry|
   end
   print "\n"
 
-  files=client.call("aria2.getFiles",entry['gid'])
+  files=client_call(client,secret,"aria2.getFiles",entry['gid'])
   if files.length > 0 then
     first_file=files.find{|file| file["selected"]=="true"}
     if first_file != nil then