mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 21:50:49 -05:00
For ITS#1983, in ber_pvt_sb_do_write, partial writes are not failures
This commit is contained in:
parent
7cdb6866cf
commit
536019beb4
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue