MFH? On Thu, 28 Nov 2002, Martin Kraemer wrote:
>martin Thu Nov 28 03:23:37 2002 EDT > > Modified files: > /php4/ext/standard mail.c > Log: > Portability: Use 0 if the platform does not define EX_OK > > >Index: php4/ext/standard/mail.c >diff -u php4/ext/standard/mail.c:1.66 php4/ext/standard/mail.c:1.67 >--- php4/ext/standard/mail.c:1.66 Thu Oct 24 09:14:43 2002 >+++ php4/ext/standard/mail.c Thu Nov 28 03:23:36 2002 >@@ -16,7 +16,7 @@ > +----------------------------------------------------------------------+ > */ > >-/* $Id: mail.c,v 1.66 2002/10/24 13:14:43 sas Exp $ */ >+/* $Id: mail.c,v 1.67 2002/11/28 08:23:36 martin Exp $ */ > > #include <stdlib.h> > #include <ctype.h> >@@ -208,8 +208,10 @@ > #else > #if defined(EX_TEMPFAIL) > if ((ret != EX_OK)&&(ret != EX_TEMPFAIL)) >-#else >+#elif defined(EX_OK) > if (ret != EX_OK) >+#else >+ if (ret != 0) > #endif > #endif > { > > > > -- <- For Sale! -> -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php