[前][次][番号順一覧][スレッド一覧]

ruby-changes:6324

From: matz <ko1@a...>
Date: Thu, 3 Jul 2008 12:58:20 +0900 (JST)
Subject: [ruby-changes:6324] Ruby:r17840 (trunk): * lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of

matz	2008-07-03 12:54:25 +0900 (Thu, 03 Jul 2008)

  New Revision: 17840

  Modified files:
    trunk/ChangeLog
    trunk/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=17840

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17840&r2=17839&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/net/smtp.rb?r1=17840&r2=17839&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 17839)
+++ ChangeLog	(revision 17840)
@@ -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 07:06:02 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* Makefile.in (SET_LC_MESSAGES): LC_MESSAGES must be C.
Index: lib/net/smtp.rb
===================================================================
--- lib/net/smtp.rb	(revision 17839)
+++ lib/net/smtp.rb	(revision 17840)
@@ -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/

[前][次][番号順一覧][スレッド一覧]