aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-28 09:05:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-28 09:05:47 +0000
commitb8f7d94ef15b93c98cda472a32227d84a3ac5f72 (patch)
tree2e12162cb16881f45601856fb733ad916aea8d16 /lib/url.c
parentd4cd079b9cf6d3d8cc278b267b079268df9f11fb (diff)
James Griffiths' max-redirs fix
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 9522034f0..2d88aa495 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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;