From 84fa4466ee2b58fd9c1aa3671f71abaaa7fc9beb Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Sat, 3 Sep 2016 17:09:21 +0300 Subject: [PATCH] conn: clear authenticated flag on reset --- src/conn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conn.c b/src/conn.c index fe0f156..ed2966b 100644 --- a/src/conn.c +++ b/src/conn.c @@ -1099,6 +1099,7 @@ static void _conn_reset(xmpp_conn_t * const conn) conn->domain = NULL; conn->bound_jid = NULL; conn->stream_id = NULL; + conn->authenticated = 0; conn->secured = 0; conn->tls_failed = 0; conn->error = 0;