* lib/net/imap.rb: rename ContinueRequest to ContinuationRequest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
65579c6b31
commit
c32024a3b5
|
@ -1,3 +1,7 @@
|
|||
Fri Mar 30 22:56:56 2001 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* lib/net/imap.rb: rename ContinueRequest to ContinuationRequest.
|
||||
|
||||
Wed Mar 28 23:43:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||
|
||||
* ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to C
|
||||
|
|
|
@ -291,7 +291,7 @@ module Net
|
|||
end
|
||||
authenticator = @@authenticators[auth_type].new(*args)
|
||||
send_command("AUTHENTICATE", auth_type) do |resp|
|
||||
if resp.instance_of?(ContinueRequest)
|
||||
if resp.instance_of?(ContinuationRequest)
|
||||
data = authenticator.process(resp.data.text.unpack("m")[0])
|
||||
send_data([data].pack("m").chomp)
|
||||
end
|
||||
|
@ -778,7 +778,7 @@ module Net
|
|||
end
|
||||
end
|
||||
|
||||
ContinueRequest = Struct.new(:data, :raw_data)
|
||||
ContinuationRequest = Struct.new(:data, :raw_data)
|
||||
UntaggedResponse = Struct.new(:name, :data, :raw_data)
|
||||
TaggedResponse = Struct.new(:tag, :name, :data, :raw_data)
|
||||
ResponseText = Struct.new(:code, :text)
|
||||
|
@ -924,7 +924,7 @@ module Net
|
|||
def continue_req
|
||||
match(T_PLUS)
|
||||
match(T_SPACE)
|
||||
return ContinueRequest.new(resp_text, @str)
|
||||
return ContinuationRequest.new(resp_text, @str)
|
||||
end
|
||||
|
||||
def response_untagged
|
||||
|
|
Loading…
Reference in New Issue