chiark
/
gitweb
/
~ian
/
innduct.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e78c65c
)
Fix crash bug in inputfile_queue_check_expired
author
Ian Jackson
<ian@chiark.greenend.org.uk>
Tue, 1 Jun 2010 10:14:27 +0000
(11:14 +0100)
committer
Ian Jackson
<ian@chiark.greenend.org.uk>
Tue, 1 Jun 2010 10:14:27 +0000
(11:14 +0100)
xmit.c
patch
|
blob
|
history
diff --git
a/xmit.c
b/xmit.c
index ace7286296e9c3b4b34f6883b3325d7e47eb15e6..c4b1854717333b05249bf009e33387fe9b8d13de 100644
(file)
--- a/
xmit.c
+++ b/
xmit.c
@@
-184,6
+184,7
@@
void inputfile_queue_check_expired(InputFile *ipf) {
for (;;) {
Article *art= LIST_HEAD(ipf->queue);
+ if (!art) break;
int expd= article_check_expired(art);
if (!expd) break;
}