summaryrefslogtreecommitdiff
path: root/ext/curl/interface.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2013-04-04 19:28:17 +0800
committerXinchen Hui <laruence@php.net>2013-04-04 19:28:17 +0800
commit185e5e15ae5e6d69f667dcc51205db23e0db8eb0 (patch)
tree9b528a69d808b005a06113b23e792f79ce50520f /ext/curl/interface.c
parent4f2acd8cded99c12a9ff6ca3693978562267b6d9 (diff)
downloadphp-git-185e5e15ae5e6d69f667dcc51205db23e0db8eb0.tar.gz
s ,CURL_WRAPPERS_ENABLE,CURL_WRAPPERS_ENABLED,
Diffstat (limited to 'ext/curl/interface.c')
-rw-r--r--ext/curl/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index ee205a707b..1f29e9280d 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -914,7 +914,7 @@ PHP_MINIT_FUNCTION(curl)
}
#ifdef PHP_CURL_URL_WRAPPERS
- REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLE", 1, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLED", 1, CONST_CS | CONST_PERSISTENT);
# if HAVE_CURL_VERSION_INFO
{
curl_version_info_data *info = curl_version_info(CURLVERSION_NOW);
@@ -942,7 +942,7 @@ PHP_MINIT_FUNCTION(curl)
php_register_url_stream_wrapper("ldap", &php_curl_wrapper TSRMLS_CC);
# endif
#else
- REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLE", 0, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLED", 0, CONST_CS | CONST_PERSISTENT);
#endif
return SUCCESS;