James Griffiths' max-redirs fix

This commit is contained in:
Daniel Stenberg
2000-11-28 09:05:47 +00:00
parent d4cd079b9c
commit b8f7d94ef1
3 changed files with 12 additions and 2 deletions

View File

@@ -478,6 +478,9 @@ CURLcode curl_setopt(CURL *curl, CURLoption option, ...)
case CURLOPT_TIMEOUT:
data->timeout = va_arg(param, long);
break;
case CURLOPT_MAXREDIRS:
data->maxredirs = va_arg(param, long);
break;
case CURLOPT_USERAGENT:
data->useragent = va_arg(param, char *);
break;