- adjust ini entry names to those of the globals struct
[m6w6/ext-http] / http_querystring_object.c
index 6f452b968ffae5e3ab2ee71f98bbdf16b124dff0..d0eed53d14942490d5f43db6a464055b8930518b 100644 (file)
@@ -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) {
-                                       switch (Z_STRVAL_P(ztype)[0])
-                                       {
+                                       switch (Z_STRVAL_P(ztype)[0]) {
                                                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);
        }
 }