ruby-changes:6323
From: matz <ko1@a...>
Date: Thu, 3 Jul 2008 12:58:09 +0900 (JST)
Subject: [ruby-changes:6323] Ruby:r17839 (ruby_1_8): * lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of
matz 2008-07-03 12:53:48 +0900 (Thu, 03 Jul 2008)
New Revision: 17839
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/lib/net/smtp.rb
Log:
* lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of
'localhost.localdomain'. [ruby-dev:35333]
* lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17839
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=17839&r2=17838&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/lib/net/smtp.rb?r1=17839&r2=17838&diff_format=u
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog (revision 17838)
+++ ruby_1_8/ChangeLog (revision 17839)
@@ -1,3 +1,10 @@
+Thu Jul 3 12:49:39 2008 Yukihiro Matsumoto <matz@r...>
+
+ * lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of
+ 'localhost.localdomain'. [ruby-dev:35333]
+
+ * lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto.
+
Thu Jul 3 10:21:43 2008 Hidetoshi NAGAI <nagai@a...>
* ext/tk/extconf.rb: should not check "tcl.h" & "tk.h" when
Index: ruby_1_8/lib/net/smtp.rb
===================================================================
--- ruby_1_8/lib/net/smtp.rb (revision 17838)
+++ ruby_1_8/lib/net/smtp.rb (revision 17839)
@@ -437,7 +437,7 @@
# +port+ is the port to connect to; it defaults to port 25.
#
# +helo+ is the _HELO_ _domain_ provided by the client to the
- # server (see overview comments); it defaults to 'localhost.localdomain'.
+ # server (see overview comments); it defaults to 'localhost'.
#
# The remaining arguments are used for SMTP authentication, if required
# or desired. +user+ is the account name; +secret+ is your password
@@ -457,7 +457,7 @@
# * IOError
# * TimeoutError
#
- def SMTP.start(address, port = nil, helo = 'localhost.localdomain',
+ def SMTP.start(address, port = nil, helo = 'localhost',
user = nil, secret = nil, authtype = nil,
&block) # :yield: smtp
new(address, port).start(helo, user, secret, authtype, &block)
@@ -518,7 +518,7 @@
# * IOError
# * TimeoutError
#
- def start(helo = 'localhost.localdomain',
+ def start(helo = 'localhost',
user = nil, secret = nil, authtype = nil) # :yield: smtp
if block_given?
begin
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/