]> granicus.if.org Git - php/commitdiff
Initialize tags properly.
authorSascha Schumann <sas@php.net>
Tue, 17 Oct 2000 14:17:21 +0000 (14:17 +0000)
committerSascha Schumann <sas@php.net>
Tue, 17 Oct 2000 14:17:21 +0000 (14:17 +0000)
Submitted by: Andreas Karajannis <Andreas.Karajannis@gmd.de>

ext/standard/url_scanner_ex.c
ext/standard/url_scanner_ex.re

index 4e0eb72177fdd0e1a77d8b837e4c91f8a00993e7..5e0adb9078675c35079feb038608f1e323078e7b 100644 (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;
 }
index e5999f599247226f8881e1b1160137f94dfd2f5e..228917c5485df4e13aa45a29a368fe5acb93a932 100644 (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;
 }