summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--lib/net/imap.rb6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a2da4a0cc9..0728624dd0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/lib/net/imap.rb b/lib/net/imap.rb
index e1c1897d16..c35a1eae99 100644
--- a/lib/net/imap.rb
+++ b/lib/net/imap.rb
@@ -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