projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
5b61ddd
)
fix leak
author
Michael Wallner
<mike@php.net>
Sun, 9 Dec 2012 22:18:26 +0000
(22:18 +0000)
committer
Michael Wallner
<mike@php.net>
Sun, 9 Dec 2012 22:18:26 +0000
(22:18 +0000)
php_http_client_request.c
patch
|
blob
|
history
diff --git
a/php_http_client_request.c
b/php_http_client_request.c
index c073512ed5f02871e4054bb9b1cec20e4dc1ef86..2050bf2fe7153b9dccd39ec2fe26abbfc36507cd 100644
(file)
--- a/
php_http_client_request.c
+++ b/
php_http_client_request.c
@@
-145,7
+145,7
@@
PHP_METHOD(HttpClientRequest, getContentType)
php_http_message_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC);
zval *zct = php_http_message_header(obj->message, ZEND_STRL("Content-Type"), 1);
- RETURN_ZVAL(zct, 0,
0
);
+ RETURN_ZVAL(zct, 0,
1
);
}
RETURN_FALSE;
}