mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fix fake error generation.
This commit is contained in:
parent
a582cfbf31
commit
eb94d0d608
@ -307,7 +307,7 @@ ber_flush( Sockbuf *sb, BerElement *ber, int freeit )
|
||||
|
||||
/* fake error if write was not atomic */
|
||||
if (rc < towrite) {
|
||||
#if !defined(MACOS) && !defined(DOS)
|
||||
#ifdef EMSGSIZE
|
||||
errno = EMSGSIZE;
|
||||
#endif
|
||||
return( -1 );
|
||||
|
Loading…
Reference in New Issue
Block a user