aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorIto Hiroyuki <ZXB01226@nifty.com>2010-07-19 11:45:23 +0000
committerIto Hiroyuki <ZXB01226@nifty.com>2010-07-19 11:45:23 +0000
commita19f155b48b2766343b410c767696c00ab9315d0 (patch)
treed33c5153033bf4cc46047b3ab9966ddc655b2cb5 /fm.h
parent* [w3m-dev 04238] [patch] simple preserve space (diff)
downloadw3m-a19f155b48b2766343b410c767696c00ab9315d0.tar.gz
w3m-a19f155b48b2766343b410c767696c00ab9315d0.zip
* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185006#22 * main.c (sig_chld): save exit code to d->err. (addDownloadList): initialize d->running and d->err. (DownloadListBuffer): check d->err. * fm.h (_DownloadList): add running and err. * file.c (save2tmp): check returned value of Strfputs(). (doFileSave): exit code is depend on the returned value of save2tmp().
Diffstat (limited to '')
-rw-r--r--fm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fm.h b/fm.h
index 8e0e133..33a67fe 100644
--- a/fm.h
+++ b/fm.h
@@ -1,4 +1,4 @@
-/* $Id: fm.h,v 1.139 2010/07/19 09:00:34 htrb Exp $ */
+/* $Id: fm.h,v 1.140 2010/07/19 11:45:24 htrb Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -517,7 +517,8 @@ typedef struct _DownloadList {
char *lock;
clen_t size;
time_t time;
- int ok;
+ int running;
+ int err;
struct _DownloadList *next;
struct _DownloadList *prev;
} DownloadList;