summaryrefslogtreecommitdiff
path: root/backend
authorGiulio Cesare Solaroli <giulio.cesare@clipperz.com>2011-10-04 23:23:06 (UTC)
committer Giulio Cesare Solaroli <giulio.cesare@clipperz.com>2011-10-04 23:23:06 (UTC)
commitbf22713a7251a2b32700a67456a086a283dbe33a (patch) (side-by-side diff)
treea56970d0131dace77edc68b122effe04db78f213 /backend
parentd6f7343c97ab28c88ade2b4e4edf0ac29f7c5117 (diff)
downloadclipperz-bf22713a7251a2b32700a67456a086a283dbe33a.zip
clipperz-bf22713a7251a2b32700a67456a086a283dbe33a.tar.gz
clipperz-bf22713a7251a2b32700a67456a086a283dbe33a.tar.bz2
Fixed code indentation
Diffstat (limited to 'backend') (more/less context) (ignore whitespace changes)
-rw-r--r--backend/php/src/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/php/src/index.php b/backend/php/src/index.php
index 35752f4..58c10a9 100644
--- a/backend/php/src/index.php
+++ b/backend/php/src/index.php
@@ -714,27 +714,27 @@ error_log("message");
$result["lock"] = $user->lock;
$result["result"] = "done";
//=============================================================
} else if ($message == "echo") {
$result["result"] = $parameters;
}
//=============================================================
} else if (isset($_SESSION['K'])) {
$result["error"] = "Wrong shared secret!";
- } else {
- $result["result"] = "EXCEPTION";
- $result["message"] = "Trying to communicate without an active connection";
+ } else {
+ $result["result"] = "EXCEPTION";
+ $result["message"] = "Trying to communicate without an active connection";
}
break;
case "logout":
error_log("logout");
session_destroy();
break;
default:
error_log("default");
$result["result"] = $parameters;
break;