summaryrefslogtreecommitdiff
path: root/include
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 /include
parent2e557de09431854e4ad137cd741a582caa917517 (diff)
downloadcurl-1b3a398ec1844560e60e2dad63d96d061361b57d.tar.gz
docs: Fix FAILONERROR typos
It returns error for >= 400 HTTP responses. Bug: https://github.com/bagder/curl/pull/129
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 0d2076bd2..0915a20fa 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -989,7 +989,7 @@ typedef enum {
CINIT(HEADER, LONG, 42), /* throw the header out too */
CINIT(NOPROGRESS, LONG, 43), /* shut off the progress meter */
CINIT(NOBODY, LONG, 44), /* use HEAD to get http document */
- CINIT(FAILONERROR, LONG, 45), /* no output on http error codes >= 300 */
+ CINIT(FAILONERROR, LONG, 45), /* no output on http error codes >= 400 */
CINIT(UPLOAD, LONG, 46), /* this is an upload */
CINIT(POST, LONG, 47), /* HTTP POST method */
CINIT(DIRLISTONLY, LONG, 48), /* bare names when listing directories */