Permalink
Browse files

Merge branch 'master' of github.com:rkh/otnetstring

  • Loading branch information...
2 parents 73aabc1 + 46e36be commit a639a9d3a8de0fd288160e00cdb4b07577d832f8 @rkh committed May 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/otnetstring.rb
View
@@ -6,7 +6,7 @@ def self.parse(io)
length, byte = "", "0"
while byte =~ /\d/
length << byte
- byte = io.readchar
+ byte = io.read(1)
end
length = length.to_i
case byte

0 comments on commit a639a9d

Please sign in to comment.