svn commit: r184935 - in head: contrib/telnet/telnetd libexec/telnetd

Max Laier max at love2party.net
Thu Nov 13 12:11:48 PST 2008


On Thursday 13 November 2008 20:05:28 Ed Schouten wrote:
>   I've also increased the size of line[]. Even though 16 should be enough,
>   we already use 13 bytes ("/dev/pts/999", including '\0'). 32 bytes gives
>   us a little more freedom.

> +	strcpy(line, pn);

Why not use str{l,n}cpy then ... even if it's big enough now.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the svn-src-head mailing list