From c5a04d220f59ac3719b3414114ef8120a304d227 Mon Sep 17 00:00:00 2001 From: Shane Bryldt Date: Tue, 19 Feb 2019 12:57:02 -0700 Subject: [PATCH] Fixed error return when session is restored --- src/session.c | 1 + 1 file changed, 1 insertion(+) 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 */