fix some of stijns perl-isms

This commit is contained in:
Ward Wouts 2002-05-16 12:49:47 +00:00
parent 800d7a04b0
commit 2f43fb8d3f

View file

@ -618,10 +618,10 @@ def _ydecode_file(file, outfile)
totalsize = $8.to_i
filename = $10
print "found beginning"
if part
if part != nil
print " of part #{part}"
end
if total
if total != nil
print " of #{total}"
end
print ", linesize = #{linesize}, size = #{totalsize}, filename = #{filename}\n"
@ -653,7 +653,7 @@ def _ydecode_file(file, outfile)
if size != bytes
print "part size mismatch, is #{bytes}, should be #{size}\n"
end
if !part
if part == nil
return mode, filename
end
total += bytes