summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-01-07 12:56:27 +0000
committerdes <des@FreeBSD.org>2000-01-07 12:56:27 +0000
commit3acbd8ffda546db2a916c987d7912527644c316f (patch)
tree641b0a3db0b79f028d4614f1593b3390bb9138c9
parent3f4abe0d33cd88e10bac8681c114923744de75fb (diff)
downloadFreeBSD-src-3acbd8ffda546db2a916c987d7912527644c316f.zip
FreeBSD-src-3acbd8ffda546db2a916c987d7912527644c316f.tar.gz
Add error codes for protocol errors.
-rw-r--r--lib/libfetch/fetch_err.et2
-rw-r--r--lib/libfetch/ftp.errors1
-rw-r--r--lib/libfetch/http.errors1
3 files changed, 3 insertions, 1 deletions
diff --git a/lib/libfetch/fetch_err.et b/lib/libfetch/fetch_err.et
index 2593eba..efaef74 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 b9034c5..3dc7028 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 37e106c..d6a3329 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
OpenPOWER on IntegriCloud