example: use correct type (long) for CURLOPT_FOLLOWLOCATION