summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-05-09 14:14:09 +0800
committerXinchen Hui <laruence@php.net>2014-05-09 14:14:09 +0800
commit763cee63abbb316132de40082eb151fce7bd504d (patch)
tree80a3164597cf5975e2716f179a9479dad94490af /ext/curl/php_curl.h
parent2d9bc88db8caebd44d81cbdfbcb109cf3bdfbca8 (diff)
downloadphp-git-763cee63abbb316132de40082eb151fce7bd504d.tar.gz
Use zend_string for better performance
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index 3994ca9dc1..e82fd3f38b 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -161,8 +161,7 @@ struct _php_curl_error {
};
struct _php_curl_send_headers {
- char *str;
- size_t str_len;
+ zend_string *str;
};
struct _php_curl_free {