From: Howard Chu Date: Thu, 29 Aug 2002 09:46:19 +0000 (+0000) Subject: For ITS#1983, in ber_pvt_sb_do_write, partial writes are not failures X-Git-Tag: NO_SLAP_OP_BLOCKS~1127 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=536019beb468d6e1bb1242e3587df975eb31bd51;p=openldap For ITS#1983, in ber_pvt_sb_do_write, partial writes are not failures --- diff --git a/libraries/liblber/sockbuf.c b/libraries/liblber/sockbuf.c index ae5c07c8c1..7fa6e85321 100644 --- a/libraries/liblber/sockbuf.c +++ b/libraries/liblber/sockbuf.c @@ -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; }