Possible bug in pullnews (inn 2.3)

Katsuhiro Kondou kondou at nec.co.jp
Wed Sep 20 11:11:53 UTC 2000



In article <Pine.SOL.3.91.1000919150657.14621L-100000 at travelers.mail.cornell.edu>,
	jmv16 at cornell.edu wrote;

} It seems to die after attempting to suck a group with no articles (not no 
} new articles, but none at all).  Consider the following transcript, 

How about attached?
-- 
Katsuhiro Kondou

--- frontends/pullnews.in.orig	Fri Apr 14 03:14:26 2000
+++ frontends/pullnews.in	Wed Sep 20 20:10:05 2000
@@ -388,7 +388,11 @@
            $narticles, $first, $last ;
     printf LOG "\tOur current highest: %d", $prevHigh, ;
     
-    return 0 if ! $narticles || ! $name ;
+    return 0 if ! $name ;
+    if ($narticles  == 0)
+	print LOG " (nothing to get)\n";
+	return 1 ;
+    }
 
     if ($prevHigh == -1 || $last <= $prevHigh) {
 	# we connected OK but there's nothing there, or we just want 



More information about the inn-bugs mailing list