From c0e95adf50fa07ff14e07feea2f43816826c42f3 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 30 Nov 2001 10:49:06 +0000 Subject: [w3m-dev 02597] From: Fumitoshi UKAI --- url.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'url.c') diff --git a/url.c b/url.c index 373c7e5..4ab1f24 100644 --- a/url.c +++ b/url.c @@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.13 2001/11/30 09:54:22 ukai Exp $ */ +/* $Id: url.c,v 1.14 2001/11/30 10:49:06 ukai Exp $ */ #include "fm.h" #include #include @@ -1198,13 +1198,8 @@ otherinfo(ParsedURL *target, ParsedURL *current, char *referer) Strcat_charp(s, UserAgent); Strcat_charp(s, "\r\n"); - Strcat_charp(s, "Accept: "); - Strcat_charp(s, acceptableMimeTypes()); - Strcat_charp(s, "\r\n"); - - Strcat_charp(s, "Accept-Encoding: "); - Strcat_charp(s, acceptableEncoding()); - Strcat_charp(s, "\r\n"); + Strcat_m_charp(s, "Accept: ", AcceptMedia, "\r\n"); + Strcat_m_charp(s, "Accept-Encoding: ", AcceptEncoding, "\r\n"); Strcat_charp(s, "Accept-Language: "); if (AcceptLang != NULL && *AcceptLang != '\0') { -- cgit v1.2.3