diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-10 12:15:33 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-10 12:15:33 +0000 |
commit | 95eb316d448a47d510592a2e2e8bdea16dc748e8 (patch) | |
tree | f727215bf7a6475c309c53adb7de0fdc20cfa644 /lib | |
parent | 59dc82ae1afdd2cd7bf4f23b458123c3214aa831 (diff) | |
download | ruby-95eb316d448a47d510592a2e2e8bdea16dc748e8.tar.gz |
* lib/net/pop.rb: Exception line was accidentaly removed. [ruby-dev:19989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/pop.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb index 19a0e69dcd..38fb7b6f76 100644 --- a/lib/net/pop.rb +++ b/lib/net/pop.rb @@ -561,6 +561,7 @@ module Net list = [] @socket.each_list_item do |line| m = /\A(\d+)[ \t]+(\d+)/.match(line) or + raise BadResponse, "bad response: #{line}" list[m[1].to_i] = m[2].to_i end return list |