1
1

send_existing: clear olen when the data is sent off

Этот коммит содержится в:
Daniel Stenberg 2010-10-22 12:27:05 +02:00
родитель d674b1a09a
Коммит c49061e708

Просмотреть файл

@ -643,6 +643,7 @@ send_existing(LIBSSH2_SESSION * session, unsigned char *data,
if (rc == length) { if (rc == length) {
/* the remainder of the package was sent */ /* the remainder of the package was sent */
p->ototal_num = 0; p->ototal_num = 0;
p->olen = 0;
} }
else if (rc < 0) { else if (rc < 0) {
/* nothing was sent */ /* nothing was sent */