projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- adjust ini entry names to those of the globals struct
[m6w6/ext-http]
/
http_querystring_object.c
diff --git
a/http_querystring_object.c
b/http_querystring_object.c
index 6f452b968ffae5e3ab2ee71f98bbdf16b124dff0..d0eed53d14942490d5f43db6a464055b8930518b 100644
(file)
--- a/
http_querystring_object.c
+++ b/
http_querystring_object.c
@@
-327,8
+327,7
@@
PHP_METHOD(HttpQueryString, get)
if (Z_TYPE_P(ztype) == IS_LONG) {
type = Z_LVAL_P(ztype);
} else if(Z_TYPE_P(ztype) == IS_STRING) {
if (Z_TYPE_P(ztype) == IS_LONG) {
type = Z_LVAL_P(ztype);
} else if(Z_TYPE_P(ztype) == IS_STRING) {
- switch (Z_STRVAL_P(ztype)[0])
- {
+ switch (Z_STRVAL_P(ztype)[0]) {
case 'B':
case 'b': type = HTTP_QUERYSTRING_TYPE_BOOL; break;
case 'I':
case 'B':
case 'b': type = HTTP_QUERYSTRING_TYPE_BOOL; break;
case 'I':
@@
-367,7
+366,7
@@
PHP_METHOD(HttpQueryString, set)
}
}
}
}
-
IF_RETVAL_USED
{
+
if (return_value_used)
{
RETURN_PROP(queryString);
}
}
RETURN_PROP(queryString);
}
}