curl_getinfo fix