cvs: php4 /ext/standard mail.c
| From: | Frank M. Kromann | Date: | Tue, 02 Jul 2002 23:46:15 +0000 |
| Subject: | cvs: php4 /ext/standard mail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12676@lists.php.net to get a copy of this message | ||
fmk Tue Jul 2 19:46:15 2002 EDT
Modified files:
/php4/ext/standard mail.c
Log:
Add default arguments to new internal mail function.
Index: php4/ext/standard/mail.c
diff -u php4/ext/standard/mail.c:1.56 php4/ext/standard/mail.c:1.57
--- php4/ext/standard/mail.c:1.56 Tue Jul 2 10:22:22 2002
+++ php4/ext/standard/mail.c Tue Jul 2 19:46:15 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mail.c,v 1.56 2002/07/02 14:22:22 derick Exp $ */
+/* $Id: mail.c,v 1.57 2002/07/02 23:46:15 fmk Exp $ */
#include <stdlib.h>
#include <ctype.h>
@@ -134,7 +134,7 @@
if (!sendmail_path) {
#ifdef PHP_WIN32
/* handle old style win smtp sending */
- if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, headers, subject, to,
message) == FAILURE) {
+ if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, headers, subject, to,
message, NULL, NULL, NULL) == FAILURE) {
if (tsm_errmsg) {
php_error(E_WARNING, "%s(): %s", get_active_function_name(TSRMLS_C), tsm_errmsg);
efree(tsm_errmsg);