chiark
/
gitweb
/
~ian
/
innduct.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix crash bug in inputfile_queue_check_expired
[innduct.git]
/
xmit.c
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;
}