Commit 4500a050 authored by ck's avatar ck
Browse files

Net7: Fix bug that prevented detecting send() failure.

parent e3d16bc9
......@@ -194,7 +194,7 @@ bool ne7ssh_transport::wait (SOCKET socket, int rw, int timeout)
bool ne7ssh_transport::send (Botan::SecureVector<Botan::byte>& buffer)
size_t byteCount;
ssize_t byteCount;
uint32 sent = 0;
if (buffer.size() > MAX_PACKET_LEN)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment