modify variable name

This commit is contained in:
MaysWind 2016-07-03 17:53:25 +08:00
parent 5214504369
commit 8a67807fc9

View file

@ -159,12 +159,12 @@
getGlobalStat: function (callback, silent) { getGlobalStat: function (callback, silent) {
return aria2RpcService.getGlobalStat({ return aria2RpcService.getGlobalStat({
silent: !!silent, silent: !!silent,
callback: function (result) { callback: function (response) {
if (!callback) { if (!callback) {
return; return;
} }
var stat = processStatResult(result); var stat = processStatResult(response);
callback(stat); callback(stat);
} }
}); });