From c5fb5d0d44d4940a4c2aa9254e2692a148e8af13 Mon Sep 17 00:00:00 2001 From: garbled Date: Wed, 10 Mar 2004 19:03:16 +0000 Subject: [PATCH] Apply patch from Peter Postma to fix the handling of nfsd_flags in rc.conf. --- usr.sbin/sushi/scanform.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.sbin/sushi/scanform.c b/usr.sbin/sushi/scanform.c index 7e99fd9f9435..6f3f2e8e59e7 100644 --- a/usr.sbin/sushi/scanform.c +++ b/usr.sbin/sushi/scanform.c @@ -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'; }