httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From soc-r...@apache.org
Subject svn commit: r232364 - in /httpd/mod_smtpd/trunk: mod_smtpd.h smtp_protocol.c
Date Fri, 12 Aug 2005 19:45:17 GMT
Author: soc-rian
Date: Fri Aug 12 12:45:15 2005
New Revision: 232364

URL: http://svn.apache.org/viewcvs?rev=232364&view=rev
Log:
SMTPD_PROTOCOL_ESMTP now signified when ehlo is used

Modified:
    httpd/mod_smtpd/trunk/mod_smtpd.h
    httpd/mod_smtpd/trunk/smtp_protocol.c

Modified: httpd/mod_smtpd/trunk/mod_smtpd.h
URL: http://svn.apache.org/viewcvs/httpd/mod_smtpd/trunk/mod_smtpd.h?rev=232364&r1=232363&r2=232364&view=diff
==============================================================================
--- httpd/mod_smtpd/trunk/mod_smtpd.h (original)
+++ httpd/mod_smtpd/trunk/mod_smtpd.h Fri Aug 12 12:45:15 2005
@@ -61,7 +61,7 @@
 
   typedef enum {
     SMTPD_PROTOCOL_SMTP,
-    SMTPD_PROTOCOL_ESTMP
+    SMTPD_PROTOCOL_ESMTP
   } smtpd_protocol_type;
 
   typedef struct smtpd_return_data {

Modified: httpd/mod_smtpd/trunk/smtp_protocol.c
URL: http://svn.apache.org/viewcvs/httpd/mod_smtpd/trunk/smtp_protocol.c?rev=232364&r1=232363&r2=232364&view=diff
==============================================================================
--- httpd/mod_smtpd/trunk/smtp_protocol.c (original)
+++ httpd/mod_smtpd/trunk/smtp_protocol.c Fri Aug 12 12:45:15 2005
@@ -176,6 +176,7 @@
     ap_rprintf(r, "%d %s\r\n", 250, sr->helo);
   }
   sr->state_vector = SMTPD_STATE_GOT_HELO;
+  sr->extended = SMTPD_PROTOCOL_ESMTP;
 
  end:
   ap_rflush(r);



Mime
View raw message