projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- senseless statement
[m6w6/ext-http]
/
http_methods.c
diff --git
a/http_methods.c
b/http_methods.c
index ebb892a6a73ac3c86eaabfadd405074b63d55060..cf1fb9e0ebd96c812e06eb5ebe84ab6576c302e0 100644
(file)
--- a/
http_methods.c
+++ b/
http_methods.c
@@
-2125,15
+2125,13
@@
PHP_METHOD(HttpRequest, send)
}
if (SUCCESS == (status = http_request_object_requesthandler(obj, getThis(), &body))) {
}
if (SUCCESS == (status = http_request_object_requesthandler(obj, getThis(), &body))) {
- zval *info = GET_PROP(obj, responseInfo);
- status = http_request_exec(obj->ch, Z_ARRVAL_P(info));
- SET_PROP(obj, responseInfo, info);
+ status = http_request_exec(obj->ch, NULL);
}
http_request_body_dtor(&body);
/* final data handling */
if (SUCCESS == status) {
}
http_request_body_dtor(&body);
/* final data handling */
if (SUCCESS == status) {
- status = http_request_object_responsehandler(obj, getThis()
, NULL
);
+ status = http_request_object_responsehandler(obj, getThis());
}
SET_EH_NORMAL();
}
SET_EH_NORMAL();