summaryrefslogtreecommitdiff
path: root/lib/net/pop.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-31 13:02:40 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-31 13:02:40 +0000
commitbe72d9a5da9be284d2bdb8047e50f14e014b7835 (patch)
tree05aba46d6357f16f3cddba0e0226307b6913b568 /lib/net/pop.rb
parent9fd5174ef3aebe3d862289b4c646e65b2400b2f9 (diff)
protocol.rb smtp.rb pop.rb http.rb version 1.1.12
o protocol.rb: update Net::Protocol::Proxy#connect o protocol.rb: ReplyCode is not a class o http.rb: header value does not include header name o http.rb: header is not a Hash, but HTTPResponse git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/pop.rb')
-rw-r--r--lib/net/pop.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb
index 7a41e44..65cd498 100644
--- a/lib/net/pop.rb
+++ b/lib/net/pop.rb
@@ -314,9 +314,9 @@ Net::POP3
str = @socket.readline
if /\A\+/ === str then
- return SuccessCode.new( str[0,3], str[3, str.size - 3].strip )
+ return Response.new( SuccessCode, str[0,3], str[3, str.size - 3].strip )
else
- return ErrorCode.new( str[0,4], str[4, str.size - 4].strip )
+ return Response.new( ErrorCode, str[0,4], str[4, str.size - 4].strip )
end
end