Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/libexec/telnetd



Bill Sommerfeld <sommerfeld%orchard.arlington.ma.us@localhost> 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



Home | Main Index | Thread Index | Old Index