Skip to content

Commit

Permalink
More accuration
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Jun 26, 2024
1 parent c895fb1 commit 4a5c304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configs/yaf_config_ini.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,11 @@ int yaf_config_ini_init(yaf_config_object *conf, zval *filename, zend_string *se
yaf_trigger_error(E_ERROR, "Parsing ini file '%s' failed", ini_file);
return 0;
}
#if PHP_VERSION_ID < 70400
#if PHP_VERSION_ID < 80100
fclose(fh.handle.fp);
#endif
}
#if PHP_VERSION_ID >= 70400
#if PHP_VERSION_ID >= 80100 /* zend_stream_ini copy filename from 8.1 */
zend_destroy_file_handle(&fh);
#endif
} else {
Expand Down

0 comments on commit 4a5c304

Please sign in to comment.