From 384ef8023e8df0f4aa18683676bb073e7afc6011 Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Fri, 2 Sep 2016 17:10:14 +0300 Subject: [PATCH] auth: coding style --- src/auth.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/auth.c b/src/auth.c index b38e5b3..44841e8 100644 --- a/src/auth.c +++ b/src/auth.c @@ -563,19 +563,15 @@ static void _auth(xmpp_conn_t * const conn) anonjid = 0; } - if (conn->tls_support) - { + if (conn->tls_support) { tls_t *tls = tls_new(conn->ctx, conn->sock); /* If we couldn't init tls, it isn't there, so go on */ - if (!tls) - { + if (!tls) { conn->tls_support = 0; _auth(conn); return; - } - else - { + } else { tls_free(tls); }