summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-04-03 12:19:23 (GMT)
committerAntony Dovgal <tony2001@php.net>2005-04-03 12:19:23 (GMT)
commitb2858fb449cf1d52f460a193fbbe9c4a4e1909bf (patch)
tree89c8bb5a19552deba86daaafed1077aba29d81be /ext
parentc67da24e3148c6b4def23b41e8c59dc47621707b (diff)
downloadphp-b2858fb449cf1d52f460a193fbbe9c4a4e1909bf.tar.gz
fix output_reset_rewrite_vars() returning false everytime
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/url_scanner_ex.c2
-rw-r--r--ext/standard/url_scanner_ex.re2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c
index 8f3de2f..a6a3c01 100644
--- a/ext/standard/url_scanner_ex.c
+++ b/ext/standard/url_scanner_ex.c
@@ -1061,7 +1061,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)
diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re
index 31845d6..e98e501 100644
--- a/ext/standard/url_scanner_ex.re
+++ b/ext/standard/url_scanner_ex.re
@@ -490,7 +490,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)