you have to pass "long*" to curl_easy_getinfo