summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Gamböck <mail@floga.de>2016-08-06 12:36:14 +0200
committerFlorian Gamböck <mail@floga.de>2016-08-06 12:36:14 +0200
commite39e1e11a49555840962bb3b8e84e97999cbbd5d (patch)
treea6c93e881e0d25dda6bb058d171ef24376805a7c
parentc09eab574c69de6a7a0fe86c874684ee2b2e7fcd (diff)
aria2mon: Replace client.call with local method
-rwxr-xr-xdoc/xmlrpc/aria2mon2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/xmlrpc/aria2mon b/doc/xmlrpc/aria2mon
index 6e6dd277..01b3eab8 100755
--- a/doc/xmlrpc/aria2mon
+++ b/doc/xmlrpc/aria2mon
@@ -140,7 +140,7 @@ result.each { |entry|
end
print "\n"
- files=client.call("aria2.getFiles",entry['gid'])
+ files=client_call(client,"aria2.getFiles",entry['gid'])
if files.length > 0 then
first_file=files.find{|file| file["selected"]=="true"}
if first_file != nil then