[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Return SSH_EOF in ssh_channel_read_timeout


Hi!
there are such lines in function ssh_channel_read_timeout :
...
if (channel->remote_eof && buffer_get_rest_len(stdbuf) == 0) {
    return 0;
}
It seems in such a case there should be a return of SSH_EOF value.
Is it so or I'm missing something?

Follow-Ups:
Re: Return SSH_EOF in ssh_channel_read_timeoutAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org