Alexander Lamaison wrote:
> > sftp_readdir: return error if buffer is too small
>
> As libssh2 knows the length the buffer needs to be in each case, could
> we add a separate API call that fetches this buffer size? This would
> allow very careful code to avoid the buffer length problem entirely.
Sorry, I don't understand what you mean here. Could you elaborate a
little?
Thanks!
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-01-04