commit 37310772ac757a3f11db840e055fe3998732dd22
parent 129a31970d78c13a7e4209ff5470e70a5d9297c2
Author: ukai <ukai>
Date: Fri, 30 Nov 2001 11:06:25 +0000
[w3m-dev 02598]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,10 @@
2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp>
+ * [w3m-dev 02598]
+ * url.c (otherinfo): add missing NULL
+
+2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp>
+
* [w3m-dev 02597] (based on [w3m-dev 02594] by aito@fw.ipsj.or.jp)
* fm.h (AcceptLang): added
* fm.h (AcceptMedia): added
diff --git a/url.c b/url.c
@@ -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') {