summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libfetch/http.c')
-rw-r--r--lib/libfetch/http.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c
index 9ce86a9..aea3d1d 100644
--- a/lib/libfetch/http.c
+++ b/lib/libfetch/http.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: http.c,v 1.4 1998/07/12 22:34:40 des Exp $
+ * $Id: http.c,v 1.5 1998/08/17 09:30:19 des Exp $
*/
/*
@@ -77,6 +77,7 @@
#include <unistd.h>
#include "fetch.h"
+#include "common.h"
#include "httperr.c"
#ifndef NDEBUG
@@ -103,20 +104,6 @@ struct cookie
};
/*
- * Look up error code
- */
-static const char *
-_http_errstring(int e)
-{
- struct httperr *p = _http_errlist;
-
- while ((p->num != -1) && (p->num != e))
- p++;
-
- return p->string;
-}
-
-/*
* Send a formatted line; optionally echo to terminal
*/
static int
OpenPOWER on IntegriCloud