[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


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.


Archive administrator: postmaster@lists.cynapses.org