You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
871 B
32 lines
871 B
7 years ago
|
autofs-5.1.0 - fix copy and paste error in dup_defaults_entry()
|
||
|
|
||
|
From: Ian Kent <ikent@redhat.com>
|
||
|
|
||
|
|
||
|
---
|
||
|
CHANGELOG | 1 +
|
||
|
modules/parse_amd.c | 2 +-
|
||
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
|
--- autofs-5.0.7.orig/CHANGELOG
|
||
|
+++ autofs-5.0.7/CHANGELOG
|
||
|
@@ -143,6 +143,7 @@
|
||
|
- check host macro is set before use.
|
||
|
- check options length before use in parse_amd.c.
|
||
|
- fix some out of order evaluations in parse_amd.c.
|
||
|
+- fix copy and paste error in dup_defaults_entry().
|
||
|
|
||
|
25/07/2012 autofs-5.0.7
|
||
|
=======================
|
||
|
--- autofs-5.0.7.orig/modules/parse_amd.c
|
||
|
+++ autofs-5.0.7/modules/parse_amd.c
|
||
|
@@ -1631,7 +1631,7 @@ static struct amd_entry *dup_defaults_en
|
||
|
entry->rfs = tmp;
|
||
|
}
|
||
|
|
||
|
- if (defaults->rhost && *defaults->rfs) {
|
||
|
+ if (defaults->rhost && *defaults->rhost) {
|
||
|
tmp = strdup(defaults->rhost);
|
||
|
if (tmp)
|
||
|
entry->rhost = tmp;
|