diff options
author | Krzysztof Wieclaw <k.wieclaw@samsung.com> | 2018-12-04 18:21:34 +0100 |
---|---|---|
committer | Krzysztof Wieclaw <k.wieclaw@samsung.com> | 2018-12-04 18:21:34 +0100 |
commit | 36ea0679758a2b139fd17715dccf22d29094f72f (patch) | |
tree | 8d0413778b8f04dd60e511de5679497b53486737 /src | |
parent | 6eded6101aaafd0cb95c325af4682bd2f59d5921 (diff) | |
download | gear-racing-car-master.tar.gz gear-racing-car-master.tar.bz2 gear-racing-car-master.zip |
Change-Id: I89d48bf4aa05be24e7f5a685469c4cf37f8d32e0
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cloud/cloud_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cloud/cloud_request.c b/src/cloud/cloud_request.c index 080edb9..cd5ce55 100644 --- a/src/cloud/cloud_request.c +++ b/src/cloud/cloud_request.c @@ -167,7 +167,7 @@ static void car_api_post_task_ready_cb(GObject *source_object, GAsyncResult *res } car_api_post_request_context_t *context = g_task_get_task_data(task); - request_result_e result = (response->response_code == 200 /*&& (strcmp(response->response_msg, "Success") == 0)*/) ? + request_result_e result = (response->response_code == 200 || response->response_code == 201) ? SUCCESS : FAILURE; |