[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: Andreas Schneider <mail@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 24 Dec 2009 18:46:24 +0100
- To: libssh@xxxxxxxxxx
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;
Attachment:
signature.asc
Description: This is a digitally signed message part.
Re: [SCM] libssh shared repository - branch master updated - release-0-3-0-437-gbfdc48e | Aris Adamantiadis <aris@xxxxxxxxxxxx> |