aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/dropbox/dropboxinforequest.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-03 12:46:38 +0200
committerEugene Sandulenko2016-09-03 12:46:38 +0200
commitfab199d37eab7345a8dff6bd44cbf261e32a878c (patch)
tree928c92780cc2f10402e6b3f0e90d73f2c1a4dd27 /backends/cloud/dropbox/dropboxinforequest.cpp
parent87eef75a26bde46f3abafef08b6ad75a4dd12060 (diff)
downloadscummvm-rg350-fab199d37eab7345a8dff6bd44cbf261e32a878c.tar.gz
scummvm-rg350-fab199d37eab7345a8dff6bd44cbf261e32a878c.tar.bz2
scummvm-rg350-fab199d37eab7345a8dff6bd44cbf261e32a878c.zip
JANITORIAL: Make GPL headers uniform
Diffstat (limited to 'backends/cloud/dropbox/dropboxinforequest.cpp')
-rw-r--r--backends/cloud/dropbox/dropboxinforequest.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/backends/cloud/dropbox/dropboxinforequest.cpp b/backends/cloud/dropbox/dropboxinforequest.cpp
index 6cdbe3321b..3d82c8d34b 100644
--- a/backends/cloud/dropbox/dropboxinforequest.cpp
+++ b/backends/cloud/dropbox/dropboxinforequest.cpp
@@ -1,24 +1,24 @@
/* ScummVM - Graphic Adventure Engine
-*
-* ScummVM is the legal property of its developers, whose names
-* are too numerous to list here. Please refer to the COPYRIGHT
-* file distributed with this source distribution.
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*
-*/
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
#include "backends/cloud/dropbox/dropboxinforequest.h"
#include "backends/cloud/cloudmanager.h"
@@ -145,7 +145,7 @@ void DropboxInfoRequest::quotaResponseCallback(Networking::JsonResponse response
//Dropbox documentation states there are no errors for this API method
Common::JSONObject info = json->asObject();
-
+
if (!Networking::CurlJsonRequest::jsonContainsIntegerNumber(info, "used", "DropboxInfoRequest")) {
error.response = "Passed JSON misses 'used' attribute!";
finishError(error);
@@ -164,10 +164,10 @@ void DropboxInfoRequest::quotaResponseCallback(Networking::JsonResponse response
delete json;
return;
}
-
- allocated = allocation.getVal("allocated")->asIntegerNumber();
+
+ allocated = allocation.getVal("allocated")->asIntegerNumber();
}
-
+
finishInfo(StorageInfo(_uid, _name, _email, used, allocated));
delete json;
}