From ef51f0fa36901cc2f1aadd21709ec268df8ea7e0 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Tue, 1 Nov 2011 10:43:50 -0700 Subject: [PATCH] monclient: fix else formatting If one branch has braces, the other should too. Signed-off-by: Josh Durgin --- src/mon/MonClient.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mon/MonClient.cc b/src/mon/MonClient.cc index 26047491ba858..214bfd6080cbd 100644 --- a/src/mon/MonClient.cc +++ b/src/mon/MonClient.cc @@ -421,8 +421,9 @@ int MonClient::authenticate(double timeout) ldout(cct, 0) << "authenticate timed out after " << timeout << dendl; authenticate_err = -r; } - } else + } else { auth_cond.Wait(monc_lock); + } } if (state == MC_STATE_HAVE_SESSION) { -- 2.39.5