aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-30 11:06:25 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-30 11:06:25 +0000
commit3f39747627b764e0ba21b3c778b91c2adfce7e6a (patch)
tree87c55a0382596a71b1badeff202bce676b9d11f9 /url.c
parent[w3m-dev 02597] (diff)
downloadw3m-3f39747627b764e0ba21b3c778b91c2adfce7e6a.tar.gz
w3m-3f39747627b764e0ba21b3c778b91c2adfce7e6a.zip
[w3m-dev 02598]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'url.c')
-rw-r--r--url.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/url.c b/url.c
index 4ab1f24..5818c7d 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.14 2001/11/30 10:49:06 ukai Exp $ */
+/* $Id: url.c,v 1.15 2001/11/30 11:06:25 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -1198,8 +1198,8 @@ otherinfo(ParsedURL *target, ParsedURL *current, char *referer)
Strcat_charp(s, UserAgent);
Strcat_charp(s, "\r\n");
- Strcat_m_charp(s, "Accept: ", AcceptMedia, "\r\n");
- Strcat_m_charp(s, "Accept-Encoding: ", AcceptEncoding, "\r\n");
+ Strcat_m_charp(s, "Accept: ", AcceptMedia, "\r\n", NULL);
+ Strcat_m_charp(s, "Accept-Encoding: ", AcceptEncoding, "\r\n", NULL);
Strcat_charp(s, "Accept-Language: ");
if (AcceptLang != NULL && *AcceptLang != '\0') {