summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/Makefile
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1998-07-11 18:56:01 +0000
committerdes <des@FreeBSD.org>1998-07-11 18:56:01 +0000
commit5b74d7e9c7c1f6bdcbae4e658c76c41016cdbf6b (patch)
tree4c94334611bca07668a0219331f52a4629e64811 /lib/libfetch/Makefile
parentc39856b85e73a59eb926c7f6cc6a6b4097c4947b (diff)
downloadFreeBSD-src-5b74d7e9c7c1f6bdcbae4e658c76c41016cdbf6b.zip
FreeBSD-src-5b74d7e9c7c1f6bdcbae4e658c76c41016cdbf6b.tar.gz
Too many changes to list. Basically, FTP is nearly there and error
reporting is kinda sorted out. Now HTTP needs to catch up...
Diffstat (limited to 'lib/libfetch/Makefile')
-rw-r--r--lib/libfetch/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile
index ad502d1..3ee090b 100644
--- a/lib/libfetch/Makefile
+++ b/lib/libfetch/Makefile
@@ -21,9 +21,9 @@ ftperr.c: ftp.errors
| grep -v ^# \
| sort \
| while read NUM STRING; do \
- echo " { $${NUM}, \"$${NUM} $${STRING}\" },"; \
+ echo " { $${NUM}, \"$${STRING}\" },"; \
done >> ${.TARGET}
- @echo " { 0, \"Unknown FTP error\" }" >> ${.TARGET}
+ @echo " { -1, \"Unknown FTP error\" }" >> ${.TARGET}
@echo "};" >> ${.TARGET}
httperr.c: http.errors
@@ -36,9 +36,9 @@ httperr.c: http.errors
| grep -v ^# \
| sort \
| while read NUM STRING; do \
- echo " { $${NUM}, \"$${NUM} $${STRING}\" },"; \
+ echo " { $${NUM}, \"$${STRING}\" },"; \
done >> ${.TARGET}
- @echo " { 0, \"Unknown HTTP error\" }" >> ${.TARGET}
+ @echo " { -1, \"Unknown HTTP error\" }" >> ${.TARGET}
@echo "};" >> ${.TARGET}
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud