Explorar o código

aria2mon: Add secret parameter to getFiles call

Florian Gamböck %!s(int64=9) %!d(string=hai) anos
pai
achega
98f773f3fa
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(client,"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