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 | b47fef398782c74f81553a1a54c5fb4ab2fb749d (patch) | |
| tree | f727215bf7a6475c309c53adb7de0fdc20cfa644 /lib/net | |
| parent | 79f1b5b1a8b084d5f77dba405b91ce2415b85ec0 (diff) | |
| download | ruby-b47fef398782c74f81553a1a54c5fb4ab2fb749d.tar.gz ruby-b47fef398782c74f81553a1a54c5fb4ab2fb749d.tar.xz ruby-b47fef398782c74f81553a1a54c5fb4ab2fb749d.zip | |
* lib/net/pop.rb: Exception line was accidentaly removed. [ruby-dev:19989]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
| -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 19a0e69dc..38fb7b6f7 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 |
