- ditch usage of clunky HTTP_GSC/HTTP_GSP macros
[m6w6/ext-http] / http_response_object.c
index 52a1dd1cc1efc4b7f62ee5ed79976103c1c3adc5..0e860bf95da232c3a8d6ecd9c7dee44e21387fd9 100644 (file)
@@ -817,7 +817,7 @@ PHP_METHOD(HttpResponse, setData)
        char *etag;
        zval *the_data;
 
-       if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &the_data)) {
+       if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z/", &the_data)) {
                RETURN_FALSE;
        }
        if (Z_TYPE_P(the_data) != IS_STRING) {