aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
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/urldata.h
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/urldata.h')
-rw-r--r--lib/urldata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index d61e8cefc..c359c06d0 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1572,7 +1572,7 @@ struct UserDefined {
bool ftp_list_only; /* switch FTP command for listing directories */
bool ftp_use_port; /* use the FTP PORT command */
bool hide_progress; /* don't use the progress meter */
- bool http_fail_on_error; /* fail on HTTP error codes >= 300 */
+ bool http_fail_on_error; /* fail on HTTP error codes >= 400 */
bool http_follow_location; /* follow HTTP redirects */
bool http_transfer_encoding; /* request compressed HTTP transfer-encoding */
bool http_disable_hostname_check_before_authentication;