projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- ditch usage of clunky HTTP_GSC/HTTP_GSP macros
[m6w6/ext-http]
/
http_response_object.c
diff --git
a/http_response_object.c
b/http_response_object.c
index 52a1dd1cc1efc4b7f62ee5ed79976103c1c3adc5..0e860bf95da232c3a8d6ecd9c7dee44e21387fd9 100644
(file)
--- a/
http_response_object.c
+++ b/
http_response_object.c
@@
-817,7
+817,7
@@
PHP_METHOD(HttpResponse, setData)
char *etag;
zval *the_data;
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) {
RETURN_FALSE;
}
if (Z_TYPE_P(the_data) != IS_STRING) {