]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298183,r304226:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 Dec 2016 19:15:26 +0000 (19:15 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 Dec 2016 19:15:26 +0000 (19:15 +0000)
commite3d412c51df00a3202397f52117c459c1135a41b
tree039436ff54e1688bb8c47a636cb47ab5187102f4
parent5218fd9edcfb32b40ea304b95a3fd2782a1b9c45
MFC r298183,r304226:

r298183 (by araujo):

Use NULL for pointers.

strrchr(3) will return NULL if the character does not appears in
the string.

r304226 (by araujo):

Use nitems() from sys/param.h.

git-svn-id: svn://svn.freebsd.org/base/stable/10@309505 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/rpcgen/rpc_main.c