Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/mountd Pullup revision 1.76 (requested by thor...



details:   https://anonhg.NetBSD.org/src/rev/4baec231d878
branches:  netbsd-1-5
changeset: 488623:4baec231d878
user:      enami <enami%NetBSD.org@localhost>
date:      Sat Jul 22 01:42:31 2000 +0000

description:
Pullup revision 1.76 (requested by thorpej):
Free the storage allocated by fparseln when skipping an empty line.

diffstat:

 usr.sbin/mountd/mountd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fc4bc9cd7ca4 -r 4baec231d878 usr.sbin/mountd/mountd.c
--- a/usr.sbin/mountd/mountd.c  Sat Jul 22 01:40:12 2000 +0000
+++ b/usr.sbin/mountd/mountd.c  Sat Jul 22 01:42:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mountd.c,v 1.70.2.4 2000/07/17 00:47:13 itojun Exp $    */
+/*     $NetBSD: mountd.c,v 1.70.2.5 2000/07/22 01:42:31 enami Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -51,7 +51,7 @@
 #if 0
 static char     sccsid[] = "@(#)mountd.c  8.15 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: mountd.c,v 1.70.2.4 2000/07/17 00:47:13 itojun Exp $");
+__RCSID("$NetBSD: mountd.c,v 1.70.2.5 2000/07/22 01:42:31 enami Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -998,7 +998,7 @@
                cp = line;
                nextfield(&cp, &endcp);
                if (cp == endcp)
-                       continue;       /* skip empty line */
+                       goto nextline;  /* skip empty line */
                /*
                 * Set defaults.
                 */



Home | Main Index | Thread Index | Old Index