From: Kurt Zeilenga Date: Tue, 20 Oct 1998 18:38:59 +0000 (+0000) Subject: Fix fake error generation. X-Git-Tag: PHP3_TOOL_0_0~18^2~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eb94d0d6086f23d30638be86e5e75196d6c85dab;p=openldap Fix fake error generation. --- diff --git a/libraries/liblber/io.c b/libraries/liblber/io.c index cbf1837a91..bbe6c82dd1 100644 --- a/libraries/liblber/io.c +++ b/libraries/liblber/io.c @@ -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 );