diff options
author | ache <ache@FreeBSD.org> | 1995-05-15 00:03:32 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-05-15 00:03:32 +0000 |
commit | c4c737dae7209c4b077ced801011c20802ba437a (patch) | |
tree | ff6bf83f8612d5b771c85d6787a37d9a158c572a /usr.bin/rpcgen | |
parent | a83afb990f0aacaba94e26165005fed7c3c3df13 (diff) | |
download | FreeBSD-src-c4c737dae7209c4b077ced801011c20802ba437a.zip FreeBSD-src-c4c737dae7209c4b077ced801011c20802ba437a.tar.gz |
End of listcan be not marked, fix it
Submitted by: Kai Vorma <vode@snakemail.hut.fi>
Diffstat (limited to 'usr.bin/rpcgen')
-rw-r--r-- | usr.bin/rpcgen/rpc_parse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rpcgen/rpc_parse.c b/usr.bin/rpcgen/rpc_parse.c index b780851..a3d461d 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); |