Skip to content

Commit

Permalink
cloud: remove loggin flag when manager starts
Browse files Browse the repository at this point in the history
  • Loading branch information
jkralik committed Sep 8, 2023
1 parent 5dc33f7 commit 87685e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/cloud/oc_cloud.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ start_manager(void *user_data)
oc_cloud_context_t *ctx = (oc_cloud_context_t *)user_data;
oc_free_endpoint(ctx->cloud_ep);
ctx->cloud_ep = oc_new_endpoint();
ctx->store.status &= ~OC_CLOUD_LOGGED_IN;
cloud_manager_start(ctx);
return OC_EVENT_DONE;
}
Expand Down

0 comments on commit 87685e4

Please sign in to comment.