From fb5c5086e123690a113c0e8dc85848aa2ba61f54 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Wed, 13 Aug 2008 15:34:29 +0200 Subject: pacman.c: fix typo s/NoPassiveFTP/NoPassiveFtp This fixes FS#11203. The doc has always mentioned NoPassiveFtp, but an inconsistency was introduced with commit 76f816b9f764434d02e90207ee4656ebae2b6a8c when case sensitive comparision was introduced, and was only found after commit b3e6cf652c9e989badaf5499abb1d64c1a110927 which dropped the case insensitive comparison. Signed-off-by: Xavier Chantry Signed-off-by: Dan McGee --- src/pacman/pacman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 445365e2..1ee27035 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -634,7 +634,7 @@ static int _parseconfig(const char *file, const char *givensection, } if(ptr == NULL && strcmp(section, "options") == 0) { /* directives without settings, all in [options] */ - if(strcmp(key, "NoPassiveFTP") == 0) { + if(strcmp(key, "NoPassiveFtp") == 0) { alpm_option_set_nopassiveftp(1); pm_printf(PM_LOG_DEBUG, "config: nopassiveftp\n"); } else if(strcmp(key, "UseSyslog") == 0) { -- cgit v1.2.3-70-g09d2