]> granicus.if.org Git - php/commitdiff
Fix close of log file. Ensure that YAZ log file is reset too
authorAdam Dickmeiss <dickmeiss@php.net>
Tue, 27 May 2003 09:47:27 +0000 (09:47 +0000)
committerAdam Dickmeiss <dickmeiss@php.net>
Tue, 27 May 2003 09:47:27 +0000 (09:47 +0000)
ext/yaz/php_yaz.c

index b8588ab27166f78207dec7bfd4ebb2c6e7477d65..51d017542946e89f65f84dc81d073e1bd9c36381 100644 (file)
@@ -1534,9 +1534,7 @@ PHP_MSHUTDOWN_FUNCTION(yaz)
        tsrm_mutex_free (yaz_mutex);
 #endif
 
-       if (yaz_log_file()) {
-               fclose(yaz_log_file());
-       }
+       yaz_log_init_file(0);
        return SUCCESS;
 }