Blame SOURCES/autofs-5.1.0-beta1-fix-typo-in-conf_load_autofs_defaults.patch

306fa1
autofs-5.1.0-beta1 - fix typo in conf_load_autofs_defaults()
306fa1
306fa1
From: Ian Kent <raven@themaw.net>
306fa1
306fa1
306fa1
---
306fa1
 CHANGELOG      |    1 +
306fa1
 lib/defaults.c |    2 +-
306fa1
 2 files changed, 2 insertions(+), 1 deletion(-)
306fa1
306fa1
--- autofs-5.0.7.orig/CHANGELOG
306fa1
+++ autofs-5.0.7/CHANGELOG
306fa1
@@ -119,6 +119,7 @@
306fa1
 - fix old style key lookup.
306fa1
 - fix expire when server not responding.
306fa1
 - fix ldap_uri config update.
306fa1
+- fix typo in conf_load_autofs_defaults().
306fa1
 
306fa1
 25/07/2012 autofs-5.0.7
306fa1
 =======================
306fa1
--- autofs-5.0.7.orig/lib/defaults.c
306fa1
+++ autofs-5.0.7/lib/defaults.c
306fa1
@@ -320,7 +320,7 @@ static int conf_load_autofs_defaults(voi
306fa1
 	if (ret == CFG_FAIL)
306fa1
 		goto error;
306fa1
 
306fa1
-	/* LDAP_URI nad SEARCH_BASE can occur multiple times */
306fa1
+	/* LDAP_URI and SEARCH_BASE can occur multiple times */
306fa1
 	while ((co = conf_lookup(sec, NAME_LDAP_URI)))
306fa1
 		conf_delete(co->section, co->name);
306fa1