b/f: result of xmlrpc call does not need to be array

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@442 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent 9e9fbd5c3b
commit 2379cfb0ef

@ -88,10 +88,10 @@ int CCAcc::subtractCredit(string pin, int amount) {
xmlArg[0][0]["methodName"] = "subtractCredit";
xmlArg[0][0]["pin"] = pin;
xmlArg[0][0]["amount"] = amount;
DBG("substractCredit pin# '%s', Seconds '%u'.\n", pin.c_str(),
DBG("subtractCredit pin# '%s', Seconds '%u'.\n", pin.c_str(),
amount );
xmlrpccall.execute("subtractCredit", xmlArg, result);
int res = result[0];
int res = result;
DBG("Credit Left '%u' .\n", res);
return res;
}

Loading…
Cancel
Save