remove spaces at EOL
This commit is contained in:
@@ -85,12 +85,12 @@ module Msf
|
||||
# @return [Byte, nil] the extracted byte if success, nil otherwise
|
||||
def extract_byte(io)
|
||||
byte_raw = io.read(1)
|
||||
|
||||
|
||||
unless byte_raw && byte_raw.length == 1
|
||||
return nil
|
||||
end
|
||||
byte = byte_raw.unpack('C')[0]
|
||||
|
||||
|
||||
byte
|
||||
end
|
||||
|
||||
@@ -120,7 +120,7 @@ module Msf
|
||||
unless ref && (ref == 'UnicastRef' || ref == 'UnicastRef2')
|
||||
return nil
|
||||
end
|
||||
|
||||
|
||||
if ref == 'UnicastRef2'
|
||||
form = extract_byte(io)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user