using string concatenation for performence
parent
2cf9a17f25
commit
fbb85c0391
|
@ -181,7 +181,7 @@ module Rex
|
|||
|
||||
data = ""
|
||||
while data.length < size_wanted
|
||||
data += @file_handler.read(size_wanted - data.length)
|
||||
data << @file_handler.read(size_wanted - data.length)
|
||||
end
|
||||
attribut += data
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue