Minor spelling correction: lenght => length

This commit is contained in:
Carter Harwood 2017-05-05 10:42:33 -05:00 committed by GitHub
parent 3204ef6075
commit 6e312fd009
1 changed files with 1 additions and 1 deletions

View File

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