summaryrefslogtreecommitdiff
path: root/lib/feed2imap/rubyimap.rb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/rubyimap.rb13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/feed2imap/rubyimap.rb b/lib/feed2imap/rubyimap.rb
index 192e50b..49bd8a3 100644
--- a/lib/feed2imap/rubyimap.rb
+++ b/lib/feed2imap/rubyimap.rb
@@ -1,5 +1,6 @@
# File fetched from
# http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/net/imap.rb?view=log
+# Current rev: 13244
############################################################################
#
@@ -16,7 +17,6 @@
# See Net::IMAP for documentation.
#
-
require "socket"
require "monitor"
require "digest/md5"
@@ -1235,7 +1235,7 @@ module Net
class RawData # :nodoc:
def send_data(imap)
- imap.send!(:put_string, @data)
+ imap.send(:put_string, @data)
end
private
@@ -1247,7 +1247,7 @@ module Net
class Atom # :nodoc:
def send_data(imap)
- imap.send!(:put_string, @data)
+ imap.send(:put_string, @data)
end
private
@@ -1259,7 +1259,7 @@ module Net
class QuotedString # :nodoc:
def send_data(imap)
- imap.send!(:send_quoted_string, @data)
+ imap.send(:send_quoted_string, @data)
end
private
@@ -1271,7 +1271,7 @@ module Net
class Literal # :nodoc:
def send_data(imap)
- imap.send!(:send_literal, @data)
+ imap.send(:send_literal, @data)
end
private
@@ -1283,7 +1283,7 @@ module Net
class MessageSet # :nodoc:
def send_data(imap)
- imap.send!(:put_string, format_internal(@data))
+ imap.send(:put_string, format_internal(@data))
end
private
@@ -3376,3 +3376,4 @@ EOF
imap.disconnect
end
end
+