diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-01 18:28:24 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-01 18:28:24 +0000 |
commit | 41cb54b4f582b15e4cadecc1b350c08d1c29f69f (patch) | |
tree | 811aa14e205271bc714844ed1cd4a07cef2b1a27 /lib/net/protocol.rb | |
parent | adfe9cc74d227a5a687f0854465ded55a355de4c (diff) | |
download | ruby-41cb54b4f582b15e4cadecc1b350c08d1c29f69f.tar.gz ruby-41cb54b4f582b15e4cadecc1b350c08d1c29f69f.tar.xz ruby-41cb54b4f582b15e4cadecc1b350c08d1c29f69f.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/protocol.rb')
-rw-r--r-- | lib/net/protocol.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb index f234371a6..f438a86c7 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 = $~ |