Fix parameters for second curl_setopt_array call