diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index 6b2d2c0..4a65b68 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -216,11 +216,11 @@ def get_multi(subj, group) return false else body = @articles.get_group_body_first(subj) - next if body == false + return false if body == false if @articles.is_uuencoded(body) file = Tempfile.new("riptmp", @config[group]["TEMPDIR"]) body.collect{|x| file.print "#{x}\n"} - next unless @articles.get_group_body_rest(subj, file) + return false unless @articles.get_group_body_rest(subj, file) fileout = Tempfile.new("riptmp", @config[group]["TEMPDIR"]) mode, filename, body = @articles.uudecode(file, fileout) body = fileout.path @@ -231,7 +231,7 @@ def get_multi(subj, group) if @articles.is_yencoded(body) file = Tempfile.new("riptmp", @config[group]["TEMPDIR"]) body.collect{|x| file.print "#{x}\n"} - next unless @articles.get_group_body_rest(subj, file) + return false unless @articles.get_group_body_rest(subj, file) fileout = Tempfile.new("riptmp", @config[group]["TEMPDIR"]) mode, filename, body = @articles.ydecode(file, fileout) body = fileout.path