This commit is contained in:
Stanislav Malyshev 2000-11-05 16:25:26 +00:00
parent a6a792ecdd
commit 41a2b59977

View File

@ -534,6 +534,10 @@ PHP_FUNCTION(curl_setopt)
SEPARATE_ZVAL(current);
convert_to_string_ex(current);
if (Z_STRLEN_PP(current) < 1) {
continue;
}
indiv_command = estrndup(Z_STRVAL_PP(current), Z_STRLEN_PP(current));
commands = curl_slist_append(commands, indiv_command);
if (!commands) {