aboutsummaryrefslogtreecommitdiff
path: root/src/privet/privet_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/privet/privet_handler.cc')
-rw-r--r--src/privet/privet_handler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/privet/privet_handler.cc b/src/privet/privet_handler.cc
index 97cacc5..41936b6 100644
--- a/src/privet/privet_handler.cc
+++ b/src/privet/privet_handler.cc
@@ -837,8 +837,9 @@ void PrivetHandler::HandleSetupStart(const base::DictionaryValue& input,
return ReturnError(*error, callback);
if (!registration_data.ticket_id.empty() &&
- !cloud_->Setup(registration_data, &error))
+ !cloud_->Setup(registration_data, &error)) {
return ReturnError(*error, callback);
+ }
ReplyWithSetupStatus(callback);
}