Subject: Re: CVS commit: basesrc/libexec/telnetd
To: None <sommerfeld@orchard.arlington.ma.us>
From: Assar Westerlund <assar@netbsd.org>
List: source-changes
Date: 07/19/2001 17:52:45
Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us> writes:
> yes, but regarding *snprintf(), it says:
> 
>      if the return value is greater than or equal to the size
>      argument, the string was too short and some of the printed
>      characters were discarded.

Exactly.  snprintf is trying to return a useful value here.  I've also
done the mistake of doing str += snprintf(...). :-(

/assar