diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index 9afc6cd..bfacdbd 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -1,6 +1,6 @@ #!/usr/local/bin/ruby -w -# $Dwarf: ripnews.rb,v 1.67 2003/06/16 21:48:52 ward Exp $ +# $Dwarf: ripnews.rb,v 1.68 2003/06/16 22:07:35 ward Exp $ # $Source$ require 'date' @@ -334,6 +334,9 @@ def get_multi(subj, group) body.collect{|x| file.print "#{x}\n"} return false unless @articles.get_group_body_rest(subj, file) fileout = Tempfile.new("riptmp", @config[group]["TEMPDIR"]) + + # I think a thread should start about here + if UUEncode.is_uuencoded(body) print " UUDecoding...\n" mode, filename, body = UUEncode.uudecode(file, fileout) @@ -355,6 +358,9 @@ def get_multi(subj, group) fileout.close(false) output_data(subj, mode, filename, body) + + # thread could end here + return true else print " Unknown encoding (not UU, not yEnc), skipping...\n"