cvs: php4 /ext/yaz php_yaz.c

From: Date: Tue, 27 May 2003 09:47:26 +0000
Subject: cvs: php4 /ext/yaz php_yaz.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-21284@lists.php.net to get a copy of this message
dickmeiss Tue May 27 05:47:26 2003 EDT Modified files: /php4/ext/yaz php_yaz.c Log: Fix close of log file. Ensure that YAZ log file is reset too Index: php4/ext/yaz/php_yaz.c diff -u php4/ext/yaz/php_yaz.c:1.72 php4/ext/yaz/php_yaz.c:1.73 --- php4/ext/yaz/php_yaz.c:1.72 Sun May 18 16:40:04 2003 +++ php4/ext/yaz/php_yaz.c Tue May 27 05:47:26 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_yaz.c,v 1.72 2003/05/18 20:40:04 dickmeiss Exp $ */ +/* $Id: php_yaz.c,v 1.73 2003/05/27 09:47:26 dickmeiss Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1534,9 +1534,7 @@ tsrm_mutex_free (yaz_mutex); #endif - if (yaz_log_file()) { - fclose(yaz_log_file()); - } + yaz_log_init_file(0); return SUCCESS; }

« previous php.cvs (#21284) next »