using string concatenation for performence

bug/bundler_fix
Bazin Danil 2015-01-31 05:13:44 +01:00
parent 2cf9a17f25
commit fbb85c0391
1 changed files with 1 additions and 1 deletions

View File

@ -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