]> 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:51 +0000 (12:20 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 3 Apr 2005 12:20:51 +0000 (12:20 +0000)
ext/standard/url_scanner_ex.c
ext/standard/url_scanner_ex.re

index 2ba728d8e97764f4b24ee5ddef23694c2aaf8ca3..416eaef9b0aad2f8b6337b91e2f527e234a9b783 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 02c4bdca83e768ff4135b591b2bcaef736063973..5bc52036e5eec76ed08fc07b897e85ef45cd63d3 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)