For ITS#1983, in ber_pvt_sb_do_write, partial writes are not failures

This commit is contained in:
Howard Chu 2002-08-29 09:46:19 +00:00
parent 7cdb6866cf
commit 536019beb4

View file

@ -313,11 +313,6 @@ ber_pvt_sb_do_write( Sockbuf_IO_Desc *sbiod, Sockbuf_Buf *buf_out )
buf_out->buf_end = buf_out->buf_ptr = 0;
}
if ( (ber_len_t)ret < to_go ) {
/* not enough data, so pretend no data was sent. */
return -1;
}
return ret;
}