docs: Fix FAILONERROR typos

It returns error for >= 400 HTTP responses.

Bug: https://github.com/bagder/curl/pull/129
This commit is contained in:
Anthon Pang 2014-12-04 14:51:06 -05:00 committed by Daniel Stenberg
parent 2e557de094
commit 1b3a398ec1
4 changed files with 4 additions and 4 deletions

View file

@ -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 */