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:
0649066
)
fix ZVAL_STRING usage in options_init
author
Michael Wallner
<mike@php.net>
Wed, 27 Apr 2016 10:11:15 +0000
(12:11 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 27 Apr 2016 10:11:15 +0000
(12:11 +0200)
src/php_http_client_curl.c
patch
|
blob
|
history
diff --git
a/src/php_http_client_curl.c
b/src/php_http_client_curl.c
index cc62c1528e4944639b6ca4c78e87febb9fc3cea5..5b6a6283be4c106eb48f8004e210215fa80633f1 100644
(file)
--- a/
src/php_http_client_curl.c
+++ b/
src/php_http_client_curl.c
@@
-1522,7
+1522,7
@@
static void php_http_curle_options_init(php_http_options_t *registry)
opt->flags |= PHP_HTTP_CURLE_OPTION_CHECK_STRLEN;
opt->flags |= PHP_HTTP_CURLE_OPTION_CHECK_BASEDIR;
#ifdef PHP_HTTP_CURL_CAPATH
- ZVAL_
STRING(&opt->defval, PHP_HTTP_CURL_CAPATH, 0
);
+ ZVAL_
PSTRING(&opt->defval, PHP_HTTP_CURL_CAPATH
);
#endif
}
if ((opt = php_http_option_register(registry, ZEND_STRL("random_file"), CURLOPT_RANDOM_FILE, IS_STRING))) {