diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-11-28 09:05:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-11-28 09:05:47 +0000 |
commit | b8f7d94ef15b93c98cda472a32227d84a3ac5f72 (patch) | |
tree | 2e12162cb16881f45601856fb733ad916aea8d16 /lib/url.c | |
parent | d4cd079b9cf6d3d8cc278b267b079268df9f11fb (diff) |
James Griffiths' max-redirs fix
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |