cvs: php4 /ext/standard mail.c

From: Date: Thu, 28 Nov 2002 08:23:37 +0000
Subject: cvs: php4 /ext/standard mail.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16725@lists.php.net to get a copy of this message
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 {

« previous php.cvs (#16725) next »