You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
367 B
14 lines
367 B
16 years ago
|
diff --git a/src/transport.c b/src/transport.c
|
||
|
index 19efdf2..d9a38ca 100644
|
||
|
--- a/src/transport.c
|
||
|
+++ b/src/transport.c
|
||
|
@@ -626,7 +626,7 @@ send_existing(LIBSSH2_SESSION * session, unsigned char *data,
|
||
|
|
||
|
p->osent += rc; /* we sent away this much data */
|
||
|
|
||
|
- return PACKET_NONE;
|
||
|
+ return p->osent < data_len ? PACKET_EAGAIN : PACKET_NONE;
|
||
|
}
|
||
|
|
||
|
/*
|