]> granicus.if.org Git - php/commitdiff
MFH: fix output_reset_rewrite_vars() returning false
authorAntony Dovgal <tony2001@php.net>
Sun, 3 Apr 2005 12:20:22 +0000 (12:20 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 3 Apr 2005 12:20:22 +0000 (12:20 +0000)
ext/standard/url_scanner_ex.c
ext/standard/url_scanner_ex.re

index 8ef4c2e355e8ab24d1eba214d0e55cc666fa19c4..695d9fa37ef19e7c29d798c3c9ba1cbccaf06155 100644 (file)
@@ -1059,7 +1059,7 @@ int php_url_scanner_reset_vars(TSRMLS_D)
        BG(url_adapt_state_ex).form_app.len = 0;
        BG(url_adapt_state_ex).url_app.len = 0;
 
-       return FAILURE;
+       return SUCCESS;
 }
 
 PHP_MINIT_FUNCTION(url_scanner)
index ec02d5ebb8c73a3435bdc4576073b7175f135f7f..5debff724440d8d486c395f0e04c2adb0e650266 100644 (file)
@@ -488,7 +488,7 @@ int php_url_scanner_reset_vars(TSRMLS_D)
        BG(url_adapt_state_ex).form_app.len = 0;
        BG(url_adapt_state_ex).url_app.len = 0;
 
-       return FAILURE;
+       return SUCCESS;
 }
 
 PHP_MINIT_FUNCTION(url_scanner)