Fix catman(1) so that it recognizes valid manpage names as valid.
authorChris Pressey <cpressey@dragonflybsd.org>
Mon, 17 May 2004 17:44:26 +0000 (17:44 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Mon, 17 May 2004 17:44:26 +0000 (17:44 +0000)
commitc353494536df5446f39150e4922d3ce475639221
tree4a6d1bc48f22790e64c14dcd7a7fddf64768da18
parent7b39b21b9eddc5c8c0a213f0890ba59237298982
Fix catman(1) so that it recognizes valid manpage names as valid.
Compare the char at the pointer to '\0', not the pointer itself.
usr.bin/catman/catman.c