]> git.pld-linux.org Git - packages/php.git/commitdiff
- Use C, not C++.
authormkochano <mkochano@pld-linux.org>
Sat, 2 Nov 2002 21:22:02 +0000 (21:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-mail.patch -> 1.5

php-mail.patch

index 396aff95b9d4b1e39fd9e4d5082342528682f7d8..c2dad1e83069f5fae0f2af432b7952471fd88f68 100644 (file)
@@ -27,6 +27,8 @@ diff -urN php-4.2.3.org/ext/standard/mail.c php-4.2.3/ext/standard/mail.c
        if (sendmail) {
 -              fprintf(sendmail, "To: %s\n", to);
 -              fprintf(sendmail, "Subject: %s\n", subject);
++              TSRMLS_FETCH();
++              
 +              if ((to != NULL) && (strlen(to)!=0)) { 
 +                      fprintf(sendmail, "To: %s\n", to);
 +              }
@@ -34,8 +36,6 @@ diff -urN php-4.2.3.org/ext/standard/mail.c php-4.2.3/ext/standard/mail.c
 +                      fprintf(sendmail, "Subject: %s\n", subject);
 +              }
 +
-+              TSRMLS_FETCH();
-+              
 +              if (PG(http_globals)[TRACK_VARS_SERVER]) {
 +                      zval **remote_addr, **server_name, **server_port,
 +                              **request_uri, **http_user_agent;
This page took 1.861972 seconds and 4 git commands to generate.