Hi all!

Two small patches to fix typos in php.ini-dist, php.ini-recommended &
mail.c
These patches fix bug #29122.

---
WBR,
Antony Dovgal aka tony2001
[EMAIL PROTECTED] || [EMAIL PROTECTED]
Index: ext/standard/mail.c
===================================================================
RCS file: /repository/php-src/ext/standard/mail.c,v
retrieving revision 1.82
diff -u -r1.82 mail.c
--- ext/standard/mail.c 9 Jan 2004 01:35:44 -0000       1.82
+++ ext/standard/mail.c 23 Jul 2004 12:30:07 -0000
@@ -86,7 +86,7 @@
        char *subject=NULL, *extra_cmd=NULL;
        int to_len, message_len, headers_len;
        int subject_len, extra_cmd_len, i;
-       char *force_extra_parameters = INI_STR("mail_force_extra_parameters");
+       char *force_extra_parameters = INI_STR("mail.force_extra_parameters");
        char *to_r, *subject_r;
 
        if (PG(safe_mode) && (ZEND_NUM_ARGS() == 5)) {
Index: php.ini-dist
===================================================================
RCS file: /repository/php-src/php.ini-dist,v
retrieving revision 1.215
diff -u -r1.215 php.ini-dist
--- php.ini-dist        15 Jul 2004 19:09:37 -0000      1.215
+++ php.ini-dist        23 Jul 2004 12:29:39 -0000
@@ -617,7 +617,7 @@
 ; Force the addition of the specified parameters to be passed as extra parameters
 ; to the sendmail binary. These parameters will always replace the value of
 ; the 5th parameter to mail(), even in safe mode.
-;mail.force_extra_paramaters =
+;mail.force_extra_parameters =
 
 [SQL]
 sql.safe_mode = Off
Index: php.ini-recommended
===================================================================
RCS file: /repository/php-src/php.ini-recommended,v
retrieving revision 1.159
diff -u -r1.159 php.ini-recommended
--- php.ini-recommended 15 Jul 2004 19:09:37 -0000      1.159
+++ php.ini-recommended 23 Jul 2004 12:29:39 -0000
@@ -675,7 +675,7 @@
 ; Force the addition of the specified parameters to be passed as extra parameters
 ; to the sendmail binary. These parameters will always replace the value of
 ; the 5th parameter to mail(), even in safe mode.
-;mail.force_extra_paramaters =
+;mail.force_extra_parameters =
 
 [SQL]
 sql.safe_mode = Off

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to