polished the phrasing in two error strings
This commit is contained in:
parent
c29ba827e4
commit
f0f4ba92f0
@ -1714,9 +1714,8 @@ ssize_t _libssh2_channel_read(LIBSSH2_CHANNEL *channel, int stream_id,
|
|||||||
while (rc > 0)
|
while (rc > 0)
|
||||||
rc = _libssh2_transport_read(session);
|
rc = _libssh2_transport_read(session);
|
||||||
|
|
||||||
if ((rc < 0) && (rc != PACKET_EAGAIN)) {
|
if ((rc < 0) && (rc != PACKET_EAGAIN))
|
||||||
return libssh2_error(session, rc, "tranport read");
|
return libssh2_error(session, rc, "transport read");
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* =============================== NOTE ===============================
|
* =============================== NOTE ===============================
|
||||||
@ -1956,7 +1955,7 @@ _libssh2_channel_write(LIBSSH2_CHANNEL *channel, int stream_id,
|
|||||||
|
|
||||||
if (channel->local.eof) {
|
if (channel->local.eof) {
|
||||||
return libssh2_error(session, LIBSSH2_ERROR_CHANNEL_EOF_SENT,
|
return libssh2_error(session, LIBSSH2_ERROR_CHANNEL_EOF_SENT,
|
||||||
"EOF has already been sight, "
|
"EOF has already been received, "
|
||||||
"data might be ignored");
|
"data might be ignored");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user