summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/url_scanner_ex.c9
-rw-r--r--ext/standard/url_scanner_ex.re7
2 files changed, 15 insertions, 1 deletions
diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c
index 4e0eb72177..5e0adb9078 100644
--- a/ext/standard/url_scanner_ex.c
+++ b/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;
}
diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re
index e5999f5992..228917c548 100644
--- a/ext/standard/url_scanner_ex.re
+++ b/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;
}