From 8b8de75ce63871b22fd4cf5623a7f82fe9241a2a Mon Sep 17 00:00:00 2001 From: david Date: Tue, 20 Dec 2011 02:40:47 +0000 Subject: [PATCH] Use svn_cmdline_setup_auth_baton. This is instead of svn_cmdline_create_auth_baton, for compatibility with the MacOSX10.5 SDK. --- nmap-update/nmap-update.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nmap-update/nmap-update.c b/nmap-update/nmap-update.c index f339ed9fa..ae8ba9de2 100644 --- a/nmap-update/nmap-update.c +++ b/nmap-update/nmap-update.c @@ -808,13 +808,12 @@ static svn_error_t *checkout_svn(const char *url, const char *path) APR_HASH_KEY_STRING); svn_config_set_bool(cfg, SVN_CONFIG_SECTION_GLOBAL, SVN_CONFIG_OPTION_SSL_TRUST_DEFAULT_CA, TRUE); - svn_cmdline_create_auth_baton(&ctx->auth_baton, + svn_cmdline_setup_auth_baton(&ctx->auth_baton, FALSE, /* non_interactive */ options.username, /* username */ options.password, /* password */ NULL, /* config_dir */ FALSE, /* no_auth_cache */ - FALSE, /* trust_server_cert */ cfg, /* cfg */ NULL, /* cancel_func */ NULL, /* cancel_baton */