chiark / gitweb /
Report input file start to debug log
[innduct.git] / xmit.c
diff --git a/xmit.c b/xmit.c
index ace7286..c4b1854 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;
   }