summaryrefslogtreecommitdiff
path: root/include/rpc
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2007-10-05 14:29:47 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2007-10-05 14:29:47 +0000
commit63eb2ad70423829314bc396c95a9053f4a001eca (patch)
treee9ba4938cc05c19e68bc11a1d0207635c085e986 /include/rpc
parentef79351c024045b58ccfe7d2e2b3958b47d296ad (diff)
use strcspn instead of strchr to properly overwrite '\n' in fgets returned buffer
check if the first byte is NUL instead of invoking strlen() with help of ray@ "Looks OK" millert@
Diffstat (limited to 'include/rpc')
0 files changed, 0 insertions, 0 deletions