On Fri, 25 Sep 2009, [email protected] wrote:
Please trim your quotes. Remove all the quotes that don't add anything to the
contents of your mail.
rc = libssh2_channel_read( channel, buffer, sizeof(buffer));
if( rc > 0 )
{
recvData = tr(buffer);
Ok, I don't know what tr() does but shouldn't it at least try to consider the
amount of data that libssh2_channel_read() returned?
ui->textEdit->append(recvData);
... and here too. Are you possibly assuming zero terminated data? That's not
right.
--
/ daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel