aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorAnthon Pang <apang@softwaredevelopment.ca>2014-12-04 14:51:06 -0500
committerDaniel Stenberg <daniel@haxx.se>2014-12-04 12:14:59 -0800
commit1b3a398ec1844560e60e2dad63d96d061361b57d (patch)
treec9544f8c78a95b6e9086c9dc7b82a49cbe2979f1 /lib/url.c
parent2e557de09431854e4ad137cd741a582caa917517 (diff)
docs: Fix FAILONERROR typos
It returns error for >= 400 HTTP responses. Bug: https://github.com/bagder/curl/pull/129
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index bb9a3bfbc..e6483ca88 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -769,7 +769,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
break;
case CURLOPT_FAILONERROR:
/*
- * Don't output the >=300 error code HTML-page, but instead only
+ * Don't output the >=400 error code HTML-page, but instead only
* return error.
*/
data->set.http_fail_on_error = (0 != va_arg(param, long))?TRUE:FALSE;