Minor spelling correction: lenght => length
This commit is contained in:
parent
3204ef6075
commit
6e312fd009
|
@ -19,7 +19,7 @@ module Net # :nodoc:
|
|||
name = ""
|
||||
packetlen = packet.size
|
||||
while true
|
||||
raise ExpandError, "offset is greater than packet lenght!" if packetlen < (offset+1)
|
||||
raise ExpandError, "offset is greater than packet length!" if packetlen < (offset+1)
|
||||
len = packet.unpack("@#{offset} C")[0]
|
||||
|
||||
if len == 0
|
||||
|
|
Loading…
Reference in New Issue