summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-08-13 15:34:29 +0200
committerDan McGee <dan@archlinux.org>2008-08-19 18:42:42 -0500
commitfb5c5086e123690a113c0e8dc85848aa2ba61f54 (patch)
tree87e4ab4f483341e2209fbc6b0ba3cacb20958658
parenta28b8e187fed67b92a0fb7aeba11b81ff5a24281 (diff)
downloadpacman-fb5c5086e123690a113c0e8dc85848aa2ba61f54.tar.xz
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 <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--src/pacman/pacman.c2
1 files changed, 1 insertions, 1 deletions
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) {