Browse Source

Initialize tags properly.

Submitted by: Andreas Karajannis <Andreas.Karajannis@gmd.de>
PHP-4.0.5
Sascha Schumann 26 years ago
parent
commit
d95bc9b3eb
  1. 9
      ext/standard/url_scanner_ex.c
  2. 7
      ext/standard/url_scanner_ex.re

9
ext/standard/url_scanner_ex.c

@ -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;
}

7
ext/standard/url_scanner_ex.re

@ -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;
}

Loading…
Cancel
Save