From 1b3a398ec1844560e60e2dad63d96d061361b57d Mon Sep 17 00:00:00 2001 From: Anthon Pang Date: Thu, 4 Dec 2014 14:51:06 -0500 Subject: docs: Fix FAILONERROR typos It returns error for >= 400 HTTP responses. Bug: https://github.com/bagder/curl/pull/129 --- include/curl/curl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.1