aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen/rpc_parse.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-05-15 00:03:32 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-05-15 00:03:32 +0000
commit0b455160097e8a9b31b98107c2f6b59c2a1ef40e (patch)
treeff6bf83f8612d5b771c85d6787a37d9a158c572a /usr.bin/rpcgen/rpc_parse.c
parentf101e3f5008e77f3ebd13b220da3095357ee1fae (diff)
downloadsrc-0b455160097e8a9b31b98107c2f6b59c2a1ef40e.tar.gz
src-0b455160097e8a9b31b98107c2f6b59c2a1ef40e.zip
End of listcan be not marked, fix it
Submitted by: Kai Vorma <vode@snakemail.hut.fi>
Notes
Notes: svn path=/head/; revision=8526
Diffstat (limited to 'usr.bin/rpcgen/rpc_parse.c')
-rw-r--r--usr.bin/rpcgen/rpc_parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rpcgen/rpc_parse.c b/usr.bin/rpcgen/rpc_parse.c
index b78085145573..a3d461d0b90e 100644
--- a/usr.bin/rpcgen/rpc_parse.c
+++ b/usr.bin/rpcgen/rpc_parse.c
@@ -29,7 +29,7 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)rpc_parse.c 1.4 87/04/28 (C) 1987 SMI";*/
-static char rcsid[] = "$Id: rpc_parse.c,v 1.1 1993/09/13 23:20:16 jtc Exp $";
+static char rcsid[] = "$Id: rpc_parse.c,v 1.1 1994/08/07 18:01:32 wollman Exp $";
#endif
/*
@@ -165,6 +165,7 @@ def_program(defp)
ptailp = &plist->next;
peek(&tok);
} while (tok.kind != TOK_RBRACE);
+ *ptailp = NULL;
*vtailp = vlist;
vtailp = &vlist->next;
scan(TOK_RBRACE, &tok);