aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net/smtp.rb
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-22 23:18:05 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-22 23:18:05 +0000
commitd236a0ca3bf63e2c5164310a4c849beabb64f3c8 (patch)
tree1987ddefd5a99403f196e708d35a581a029e8983 /lib/net/smtp.rb
parent0a2392a50aaffcb751aaf9ba1f0d5dccab6a6206 (diff)
downloadruby-d236a0ca3bf63e2c5164310a4c849beabb64f3c8.tar.gz
passing nil to split is not necessary
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r--lib/net/smtp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index c066bacbe4..1d3cfa2fee 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -1004,7 +1004,7 @@ module Net
return {} unless @string[3, 1] == '-'
h = {}
@string.lines.drop(1).each do |line|
- k, *v = line[4..-1].chomp.split(nil)
+ k, *v = line[4..-1].chomp.split
h[k] = v
end
h