summaryrefslogtreecommitdiff
path: root/lib/net/protocol.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-01 18:28:24 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-01 18:28:24 +0000
commit5eccd28bb30b5ebdc57ded504a27fbf488a65050 (patch)
tree811aa14e205271bc714844ed1cd4a07cef2b1a27 /lib/net/protocol.rb
parent951d81cab818c09630e7a829931dc6719a9b7031 (diff)
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.25.
* lib/net/protocol.rb (each_crlf_line): beg = 0 is needed in adding{} * lib/net/smtp.rb: allow String for to_addr of SMTP#sendmail git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/protocol.rb')
-rw-r--r--lib/net/protocol.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb
index f234371..f438a86 100644
--- a/lib/net/protocol.rb
+++ b/lib/net/protocol.rb
@@ -64,7 +64,7 @@ module Net
class Protocol
- Version = '1.1.24'
+ Version = '1.1.25'
class << self
@@ -664,10 +664,10 @@ module Net
end
def each_crlf_line( src )
- str = m = nil
- beg = 0
+ str = m = beg = nil
adding( src ) do
+ beg = 0
buf = @wbuf
while buf.index( /\n|\r\n|\r/, beg ) do
m = $~