summaryrefslogtreecommitdiff
path: root/ext/standard/url.c
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-01-25 15:08:31 (GMT)
committerArd Biesheuvel <abies@php.net>2004-01-25 15:08:31 (GMT)
commit86fe4ab6a1fb99c54abd278c5f3709c76a466796 (patch)
tree6d3c905b20f1f5de601cf6a44c6d067c2e0f7aa1 /ext/standard/url.c
parentca3001faf8a5965fbcbf6fba0ef00c07649e843d (diff)
downloadphp-86fe4ab6a1fb99c54abd278c5f3709c76a466796.tar.gz
CS
Diffstat (limited to 'ext/standard/url.c')
-rw-r--r--ext/standard/url.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/url.c b/ext/standard/url.c
index a5f6d44..76bbc5c 100644
--- a/ext/standard/url.c
+++ b/ext/standard/url.c
@@ -462,8 +462,8 @@ PHPAPI int php_url_decode(char *str, int len)
if (*data == '+') {
*dest = ' ';
}
- else if (*data == '%' && len >= 2 && isxdigit((int) *(data + 1)) && isxdigit((int) *(data + 2)))
- {
+ else if (*data == '%' && len >= 2 && isxdigit((int) *(data + 1))
+ && isxdigit((int) *(data + 2))) {
#ifndef CHARSET_EBCDIC
*dest = (char) php_htoi(data + 1);
#else
@@ -560,8 +560,8 @@ PHPAPI int php_raw_url_decode(char *str, int len)
char *data = str;
while (len--) {
- if (*data == '%' && len >= 2 && isxdigit((int) *(data + 1)) && isxdigit((int) *(data + 2)))
- {
+ if (*data == '%' && len >= 2 && isxdigit((int) *(data + 1))
+ && isxdigit((int) *(data + 2))) {
#ifndef CHARSET_EBCDIC
*dest = (char) php_htoi(data + 1);
#else