瀏覽代碼

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

Tatsuhiro Tsujikawa 9 年之前
父節點
當前提交
7c1d138143
共有 1 個文件被更改,包括 1 次插入1 次删除
  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