From 56e08e378bef1aff44c2fa11c2e1a074b2d6c02b Mon Sep 17 00:00:00 2001 From: glasser Date: Fri, 29 Feb 2008 01:07:26 +0000 Subject: [PATCH] Tiny style tweak: don't have a statement whose correct indentation depends on an #ifdef. * subversion/svnserve/serve.c (auth_request): Restructure function so that the #ifdef doesn't have a dangling else. git-svn-id: http://svn.collab.net/repos/svn/trunk@29621 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a --- subversion/svnserve/serve.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/subversion/svnserve/serve.c b/subversion/svnserve/serve.c index d92531fdd..74f17c1b5 100644 --- a/subversion/svnserve/serve.c +++ b/subversion/svnserve/serve.c @@ -391,11 +391,10 @@ static svn_error_t *auth_request(svn_ra_svn_conn_t *conn, apr_pool_t *pool, { #ifdef SVN_HAVE_SASL if (b->use_sasl) - SVN_ERR(cyrus_auth_request(conn, pool, b, required, needs_username)); - else + return cyrus_auth_request(conn, pool, b, required, needs_username); #endif - SVN_ERR(internal_auth_request(conn, pool, b, required, needs_username)); - return SVN_NO_ERROR; + + return internal_auth_request(conn, pool, b, required, needs_username); } /* Send a trivial auth notification on CONN which lists no mechanisms, -- 2.11.4.GIT