Fix fake error generation.

This commit is contained in:
Kurt Zeilenga 1998-10-20 18:38:59 +00:00
parent a582cfbf31
commit eb94d0d608

View File

@ -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 );