From 5c73093edb3bd527db9c8abdee53d0f18e6a4cc1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 19 Sep 2018 11:28:40 +0200 Subject: urlapi: document the error codes, remove two unused ones Assisted-by: Daniel Gustafsson Closes #3019 --- include/curl/urlapi.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/curl/urlapi.h b/include/curl/urlapi.h index 319de35b7..90dd56c00 100644 --- a/include/curl/urlapi.h +++ b/include/curl/urlapi.h @@ -35,7 +35,7 @@ typedef enum { CURLUE_BAD_PORT_NUMBER, /* 4 */ CURLUE_UNSUPPORTED_SCHEME, /* 5 */ CURLUE_URLDECODE, /* 6 */ - CURLUE_RELATIVE, /* 7 */ + CURLUE_OUT_OF_MEMORY, /* 7 */ CURLUE_USER_NOT_ALLOWED, /* 8 */ CURLUE_UNKNOWN_PART, /* 9 */ CURLUE_NO_SCHEME, /* 10 */ @@ -44,10 +44,8 @@ typedef enum { CURLUE_NO_OPTIONS, /* 13 */ CURLUE_NO_HOST, /* 14 */ CURLUE_NO_PORT, /* 15 */ - CURLUE_NO_PATH, /* 16 */ - CURLUE_NO_QUERY, /* 17 */ - CURLUE_NO_FRAGMENT, /* 18 */ - CURLUE_OUT_OF_MEMORY /* 19 */ + CURLUE_NO_QUERY, /* 16 */ + CURLUE_NO_FRAGMENT /* 17 */ } CURLUcode; typedef enum { -- cgit v1.2.3