]> granicus.if.org Git - php/commitdiff
Test patch...
authorZeev Suraski <zeev@php.net>
Sat, 10 Apr 1999 21:39:23 +0000 (21:39 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 10 Apr 1999 21:39:23 +0000 (21:39 +0000)
main/main.c

index 8664096f38b0299c1542d1b922bc2fc3bc79a388..c69dc14f7d2908a2685ce0f97e0a1d5564334942 100644 (file)
@@ -305,7 +305,7 @@ void php3_apache_putc(char c)
 void php3_log_err(char *log_message)
 {
        FILE *log_file;
-       TLS_VARS;
+       PLS_FETCH();
 
        /* Try to use the specified logging location. */
        if (PG(error_log) != NULL) {
@@ -355,7 +355,6 @@ void php3_log_err(char *log_message)
 /* wrapper for modules to use PHPWRITE */
 PHPAPI int php3_write(void *buf, int size)
 {
-       TLS_VARS;
        return PHPWRITE(buf, size);
 }