Apply patch from Peter Postma to fix the handling of nfsd_flags in rc.conf.

This commit is contained in:
garbled 2004-03-10 19:03:16 +00:00
parent 6a4fbf616c
commit c5fb5d0d44
1 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: scanform.c,v 1.33 2004/03/09 20:26:24 garbled Exp $ */
/* $NetBSD: scanform.c,v 1.34 2004/03/10 19:03:16 garbled Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -815,7 +815,6 @@ process_preform(FORM *form, char *path)
args[i] = strdup(field_buffer(f[lcnt], 0));
if (args[i] != NULL) {
p = &args[i][strlen(args[i]) - 1];
p--;
while(isspace(*p))
*p-- = '\0';
}
@ -936,7 +935,6 @@ process_form(FORM *form, char *path)
args[i] = strdup(field_buffer(f[lcnt], 0));
if (args[i] != NULL) {
p = &args[i][strlen(args[i]) - 1];
p--;
while(isspace(*p))
*p-- = '\0';
}