mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
Clean up some NT lint.
This commit is contained in:
parent
47888f1c6b
commit
bb1d03a5e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue