Merge branch 'PHP-5.4' into PHP-5.5

Conflicts:
	ext/curl/interface.c
This commit is contained in:
Xinchen Hui 2013-04-04 19:31:14 +08:00
commit 01ca2bf8c3
2 changed files with 3 additions and 3 deletions

View File

@ -1222,7 +1222,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);
{
curl_version_info_data *info = curl_version_info(CURLVERSION_NOW);
char **p = (char **)info->protocols;
@ -1237,7 +1237,7 @@ PHP_MINIT_FUNCTION(curl)
}
}
#else
REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLE", 0, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLED", 0, CONST_CS | CONST_PERSISTENT);
#endif
curlfile_register_class(TSRMLS_C);

View File

@ -9,7 +9,7 @@ if(!$res) {
die("skip could not open cli server script");
}
if (CURL_WRAPPERS_ENABLE) {
if (CURL_WRAPPERS_ENABLED) {
die("skip curl wrappers used");
}
?>