From: Adam Dickmeiss Date: Tue, 27 May 2003 09:47:27 +0000 (+0000) Subject: Fix close of log file. Ensure that YAZ log file is reset too X-Git-Tag: RELEASE_1_0_2~568 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e28c28bf1b2480e4da6bcf5d180d3f53ec02036;p=php Fix close of log file. Ensure that YAZ log file is reset too --- diff --git a/ext/yaz/php_yaz.c b/ext/yaz/php_yaz.c index b8588ab271..51d0175429 100644 --- a/ext/yaz/php_yaz.c +++ b/ext/yaz/php_yaz.c @@ -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; }