FreeBSD/contrib/subversion/subversion/svnserve/serve.c
/* If ERROR is a AUTH* error as returned by load_pwdb_config or
 * load_authz_config, write it to SERVER's log file.
 * Return a sanitized version of ERROR.
 */
If ERROR is a AUTH* error as returned by load_pwdb_config or
load_authz_config, write it to SERVER's log file.
Return a sanitized version of ERROR.
If ERROR is a AUTH * error as returned by load_pwdb_config or load_authz_config write it to SERVER ' s log file . Return a sanitized version of ERROR .
static svn_error_t *
handle_config_error(svn_error_t *error,
                    server_baton_t *server)
{
  if (   error
      && (   error->apr_err == SVN_ERR_AUTHZ_INVALID_CONFIG
          || error->apr_err == SVN_ERR_AUTHN_FAILED))
    {
      apr_status_t apr_err = error->apr_err;
      log_error(error, server);
      svn_error_clear(error);
      return svn_error_create(apr_err, NULL, NULL);
    }
  return error;
}
static svn_error_t * handle_config_error ( svn_error_t * error , server_baton_t * server ) { if ( error && ( error -> apr_err == SVN_ERR_AUTHZ_INVALID_CONFIG || error -> apr_err == SVN_ERR_AUTHN_FAILED ) ) { apr_status_t apr_err = error -> apr_err ; log_error ( error , server ) ; svn_error_clear ( error ) ; return svn_error_create ( apr_err , NULL , NULL ) ; } return error ; }
If ERROR is a AUTH* error as returned by load_pwdb_config or
 load_authz_config, write it to SERVER's log file.
If ERROR is a AUTH * error as returned by load_pwdb_config or load_authz_config write it to SERVER ' s log file .
/* Now that we've logged the error, clear it and return a
       * nice, generic error to the user:
       * http://subversion.tigris.org/issues/show_bug.cgi?id=2271 */