mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
Fix fake error generation.
This commit is contained in:
parent
a582cfbf31
commit
eb94d0d608
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue