cvs: php4 /ext/standard mail.c
| From: | Derick Rethans | Date: | Tue, 02 Jul 2002 14:22:22 +0000 |
| Subject: | cvs: php4 /ext/standard mail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12661@lists.php.net to get a copy of this message | ||
derick Tue Jul 2 10:22:22 2002 EDT
Modified files:
/php4/ext/standard mail.c
Log:
- Be nice to users and allow them to check if the mail was send
Index: php4/ext/standard/mail.c
diff -u php4/ext/standard/mail.c:1.55 php4/ext/standard/mail.c:1.56
--- php4/ext/standard/mail.c:1.55 Tue Jul 2 09:56:47 2002
+++ php4/ext/standard/mail.c Tue Jul 2 10:22:22 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mail.c,v 1.55 2002/07/02 13:56:47 derick Exp $ */
+/* $Id: mail.c,v 1.56 2002/07/02 14:22:22 derick Exp $ */
#include <stdlib.h>
#include <ctype.h>
@@ -74,7 +74,7 @@
if (PG(safe_mode) && (ZEND_NUM_ARGS() == 5)) {
php_error(E_WARNING, "%s(): SAFE MODE Restriction in effect. The fifth parameter is
disabled in SAFE MODE.", get_active_function_name(TSRMLS_C));
- return;
+ RETURN_FALSE;
}
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss",