From 8a67807fc9b3d36d7c8049a1151ebf1641e63775 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 3 Jul 2016 17:53:25 +0800 Subject: [PATCH] modify variable name --- src/scripts/services/aria2SettingService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/services/aria2SettingService.js b/src/scripts/services/aria2SettingService.js index 581ee11..20bef18 100644 --- a/src/scripts/services/aria2SettingService.js +++ b/src/scripts/services/aria2SettingService.js @@ -159,12 +159,12 @@ getGlobalStat: function (callback, silent) { return aria2RpcService.getGlobalStat({ silent: !!silent, - callback: function (result) { + callback: function (response) { if (!callback) { return; } - var stat = processStatResult(result); + var stat = processStatResult(response); callback(stat); } });