Skip to content

Commit

Permalink
Fixed error return when session is restored
Browse files Browse the repository at this point in the history
  • Loading branch information
Astaelan committed Feb 19, 2019
1 parent b782990 commit c5a04d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ static ks_status_t __on_connect_reply(swclt_conn_t conn, ks_json_t *error, const
}

if (connect_rpl) {
status = KS_STATUS_SUCCESS;
if (!connect_rpl->session_restored)
{
/* Great we got the reply populate the node store */
Expand Down

0 comments on commit c5a04d2

Please sign in to comment.