[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SCM] libssh shared repository - branch master updated - release-0-3-0-437-gbfdc48e
[Thread Prev] | [Thread Next]
- Subject: Re: [SCM] libssh shared repository - branch master updated - release-0-3-0-437-gbfdc48e
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 25 Dec 2009 11:21:55 +0100
- To: libssh@xxxxxxxxxx
sorry, >= -----> > Will change it. Ah, and Merry Christmas ! Aris Andreas Schneider a écrit :
On Thursday 24 December 2009 10:47:05 you wrote:+ while ((rc = channel_read(channel, buffer, sizeof(buffer), 0)) >= 0) {This will loop forever (0 = EOF) ...+ fwrite(buffer, 1, rc, stdout); + } + + if (rc < 0) { + channel_close(channel); + ssh_disconnect(session); + return 1;
Re: [SCM] libssh shared repository - branch master updated - release-0-3-0-437-gbfdc48e | Andreas Schneider <mail@xxxxxxxxxxxx> |