From be72d9a5da9be284d2bdb8047e50f14e014b7835 Mon Sep 17 00:00:00 2001 From: aamine Date: Fri, 31 Mar 2000 13:02:40 +0000 Subject: 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 --- lib/net/pop.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/net/pop.rb') diff --git a/lib/net/pop.rb b/lib/net/pop.rb index 7a41e44350..65cd498f55 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 -- cgit v1.2.3