commit 5b0eadcbbcc94cfb200283360dba0c5e506aac79
parent 037a3be2ec10a79d30f7c8b3e2f393ca9e29e1d9
Author: ukai <ukai>
Date: Sat, 14 Dec 2002 15:28:37 +0000
[w3m-dev 03570] meta tag in frame
* frame.c (createFrameFile): fix meta equiv parse in frame
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,10 @@
2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03570] meta tag in frame
+ * frame.c (createFrameFile): fix meta equiv parse in frame
+
+2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03569] Re: preserve timestamp
* file.c (loadGeneralFile): PresetveTimestamp
(_doFileCopy): is_pipe, PreserveTimestamp
diff --git a/frame.c b/frame.c
@@ -694,11 +694,11 @@ createFrameFile(struct frameset *f, FILE * f1, Buffer *current, int level,
fprintf(f1, "<!-- %s -->", html_quote(tok->ptr));
goto token_end;
case HTML_META:
- parsedtag_get_value(tag, ATTR_HTTP_EQUIV, &q);
- if (q && !strcasecmp(q, "refresh")) {
- parsedtag_get_value(tag, ATTR_CONTENT, &q);
- if (q) {
- Str s_tmp;
+ if (parsedtag_get_value(tag, ATTR_HTTP_EQUIV, &q)
+ && !strcasecmp(q, "refresh")) {
+ if (parsedtag_get_value(tag, ATTR_CONTENT, &q)
+ ) {
+ Str s_tmp = NULL;
int refresh_interval =
getMetaRefreshParam(q, &s_tmp);
if (s_tmp) {