> On 24 February 2010 22:09, Peter Stuge <peter_at_stuge.se> wrote:
>
> Compare snprintf()
I notice that snprintf actually works in the slightly awkward way that
our code currently works: it returns one byte less than the number of
bytes needed in the output buffer as it excludes the NULL. Maybe we
should just fix the comment and be consistent with snprintf.
Alex
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-02-25