Re-fix for HTTP lib, fixed typo in Controller.

This commit is contained in:
Thulinma 2011-10-31 19:48:29 +01:00
parent 96af25e562
commit 0f905b612e
3 changed files with 4 additions and 5 deletions

View file

@ -466,7 +466,7 @@ int main(int argc, char ** argv){
// They are assumed to be authorized, but authorization to gearbox is still done.
// This authorization uses the compiled-in username and password (account).
if (!JsonParse.parse(it->H.body, Request, false)){
Log("HTTP", "Failed to parse body JSON: "+it->H.body);
Log("UPLK", "Failed to parse body JSON: "+it->H.body);
Response["authorize"]["status"] = "INVALID";
}else{
if (Request["authorize"]["status"] != "OK"){