From be0d5ff22474975258f9bab626a236df89c086e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 7 Jan 2000 12:56:27 +0000 Subject: Add error codes for protocol errors. --- lib/libfetch/fetch_err.et | 2 +- lib/libfetch/ftp.errors | 1 + lib/libfetch/http.errors | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libfetch') diff --git a/lib/libfetch/fetch_err.et b/lib/libfetch/fetch_err.et index 2593ebaf2212..efaef740139d 100644 --- a/lib/libfetch/fetch_err.et +++ b/lib/libfetch/fetch_err.et @@ -46,5 +46,5 @@ et ftch ec FETCH_UNAVAIL, "File is not available" ec FETCH_UNKNOWN, "Unknown error" ec FETCH_URL, "Invalid URL" - ec FETCH_VERBOSE, "" + ec FETCH_VERBOSE, "Info:" end diff --git a/lib/libfetch/ftp.errors b/lib/libfetch/ftp.errors index b9034c5f7baf..3dc70281ea11 100644 --- a/lib/libfetch/ftp.errors +++ b/lib/libfetch/ftp.errors @@ -42,3 +42,4 @@ 551 PROTO Requested action aborted. Page type unknown 552 FULL Exceeded storage allocation 553 EXISTS File name not allowed +999 PROTO Protocol error diff --git a/lib/libfetch/http.errors b/lib/libfetch/http.errors index 37e106cd635c..d6a3329939a2 100644 --- a/lib/libfetch/http.errors +++ b/lib/libfetch/http.errors @@ -39,3 +39,4 @@ 503 TEMP Service Unavailable 504 TIMEOUT Gateway Time-out 505 PROTO HTTP Version not supported +999 PROTO Protocol error -- cgit v1.2.3