mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Clean up some NT lint.
This commit is contained in:
parent
47888f1c6b
commit
bb1d03a5e8
@ -273,7 +273,7 @@ ber_pvt_sb_do_write( Sockbuf_IO_Desc *sbiod, Sockbuf_Buf *buf_out )
|
||||
buf_out->buf_ptr += ret;
|
||||
if (buf_out->buf_ptr == buf_out->buf_end)
|
||||
buf_out->buf_end = buf_out->buf_ptr = 0;
|
||||
if ( ret < to_go )
|
||||
if ( (ber_len_t)ret < to_go )
|
||||
/* not enough data, so pretend no data was sent. */
|
||||
return -1;
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user