1
0
mirror of https://github.com/php/php-src.git synced 2026-04-10 17:43:13 +02:00

Initialize tags properly.

Submitted by: Andreas Karajannis <Andreas.Karajannis@gmd.de>
This commit is contained in:
Sascha Schumann
2000-10-17 14:17:21 +00:00
parent 2d24f03033
commit d95bc9b3eb
2 changed files with 15 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
/* Generated by re2c 0.5 on Mon Oct 16 00:15:52 2000 */
/* Generated by re2c 0.5 on Tue Oct 17 16:16:42 2000 */
#line 1 "/home/sas/src/php4/ext/standard/url_scanner_ex.re"
/*
+----------------------------------------------------------------------+
@@ -697,6 +697,13 @@ PHP_RSHUTDOWN_FUNCTION(url_scanner)
PHP_MINIT_FUNCTION(url_scanner)
{
url_adapt_state_ex_t *ctx;
BLS_FETCH();
ctx = &BG(url_adapt_state_ex);
ctx->tags = NULL;
REGISTER_INI_ENTRIES();
return SUCCESS;
}

View File

@@ -340,6 +340,13 @@ PHP_RSHUTDOWN_FUNCTION(url_scanner)
PHP_MINIT_FUNCTION(url_scanner)
{
url_adapt_state_ex_t *ctx;
BLS_FETCH();
ctx = &BG(url_adapt_state_ex);
ctx->tags = NULL;
REGISTER_INI_ENTRIES();
return SUCCESS;
}