aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-08-06 14:09:58 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-08-06 14:09:58 +0000
commit7834d34636db11b518444dd9ef005f42f6f1cb14 (patch)
tree457f676d4af7b0657f232f205ad62c54f39b20d2 /file.c
parentUpdate ChangeLog (diff)
parentStrnew_charp and co do not modify the char* input (diff)
downloadw3m-7834d34636db11b518444dd9ef005f42f6f1cb14.tar.gz
w3m-7834d34636db11b518444dd9ef005f42f6f1cb14.zip
Merge pull request #6 from richq/static-checks
Static checks
Diffstat (limited to '')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 605fc78..df865a0 100644
--- a/file.c
+++ b/file.c
@@ -2713,7 +2713,7 @@ flushline(struct html_feed_environ *h_env, struct readbuffer *obuf, int indent,
Str line = obuf->line, pass = NULL;
char *hidden_anchor = NULL, *hidden_img = NULL, *hidden_bold = NULL,
*hidden_under = NULL, *hidden_italic = NULL, *hidden_strike = NULL,
- *hidden_ins = NULL, *hidden_input, *hidden = NULL;
+ *hidden_ins = NULL, *hidden_input = NULL, *hidden = NULL;
#ifdef DEBUG
if (w3m_debug) {
@@ -8540,7 +8540,7 @@ lessopen_stream(char *path)
}
c = getc(fp);
if (c == EOF) {
- fclose(fp);
+ pclose(fp);
return NULL;
}
ungetc(c, fp);