summaryrefslogtreecommitdiffstats
path: root/sources/ogAdmServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/ogAdmServer.cpp')
-rw-r--r--sources/ogAdmServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp
index 2a66385..683aab6 100644
--- a/sources/ogAdmServer.cpp
+++ b/sources/ogAdmServer.cpp
@@ -4961,7 +4961,7 @@ static int og_client_state_process_payload_rest(struct og_client *cli)
json_decref(root);
if (err < 0)
- return err;
+ return og_client_bad_request(cli);
err = og_client_ok(cli, buf_reply);
if (err < 0) {