diff --git a/src/session.c b/src/session.c index 44cc557..e3d2166 100644 --- a/src/session.c +++ b/src/session.c @@ -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 */