httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From soc-r...@apache.org
Subject svn commit: r368131 - /httpd/mod_smtpd/trunk/src/smtp_protocol.c
Date Wed, 11 Jan 2006 21:04:53 GMT
Author: soc-rian
Date: Wed Jan 11 13:04:49 2006
New Revision: 368131

URL: http://svn.apache.org/viewcvs?rev=368131&view=rev
Log:
style commit.

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

Modified: httpd/mod_smtpd/trunk/src/smtp_protocol.c
URL: http://svn.apache.org/viewcvs/httpd/mod_smtpd/trunk/src/smtp_protocol.c?rev=368131&r1=368130&r2=368131&view=diff
==============================================================================
--- httpd/mod_smtpd/trunk/src/smtp_protocol.c (original)
+++ httpd/mod_smtpd/trunk/src/smtp_protocol.c Wed Jan 11 13:04:49 2006
@@ -46,24 +46,24 @@
 extern ap_regex_t *rcpt_compiled_regex;
 
 static int smtpd_handle_unrecognized_command(smtpd_conn_rec *scr,
-                                                    smtpd_return_data *in_data,
-                                                    char *command, char *data);
+                                             smtpd_return_data *in_data,
+                                             char *command, char *data);
 static int smtpd_handler_ehlo(smtpd_conn_rec *scr, char *buffer,
-                                     smtpd_return_data *out_data);
+                              smtpd_return_data *out_data);
 static int smtpd_handler_helo(smtpd_conn_rec *scr, char *buffer,
-                                     smtpd_return_data *out_data);
+                              smtpd_return_data *out_data);
 static int smtpd_handler_mail(smtpd_conn_rec *scr, char *buffer,
-                                     smtpd_return_data *out_data);
+                              smtpd_return_data *out_data);
 static int smtpd_handler_rcpt(smtpd_conn_rec *scr, char *buffer,
-                                     smtpd_return_data *out_data);
+                              smtpd_return_data *out_data);
 static int smtpd_handler_data(smtpd_conn_rec *scr, char *buffer,
-                                     smtpd_return_data *out_data);
+                              smtpd_return_data *out_data);
 static int smtpd_handler_rset(smtpd_conn_rec *scr, char *buffer,
-                                     smtpd_return_data *out_data);
+                              smtpd_return_data *out_data);
 static int smtpd_handler_quit(smtpd_conn_rec *scr, char *buffer,
-                                     smtpd_return_data *out_data);
+                              smtpd_return_data *out_data);
 static int smtpd_handler_vrfy(smtpd_conn_rec *scr, char *buffer,
-                                     smtpd_return_data *out_data);
+                              smtpd_return_data *out_data);
 
 #define BUFFER_STR_LEN 1024
 void smtpd_process_connection_internal(smtpd_conn_rec *scr)
@@ -74,8 +74,8 @@
     char *command;
     smtpd_return_data out_data;
     smtpd_svr_config_rec *pConfig =
-        ap_get_module_config(scr->s->module_config,
-                             &smtpd_module);
+      ap_get_module_config(scr->s->module_config,
+                           &smtpd_module);
     
     apr_pool_create(&per_command_pool, scr->p);
     out_data.p = per_command_pool;
@@ -162,8 +162,8 @@
 
         } else {
             return_code =
-                smtpd_handle_unrecognized_command(scr, &out_data, command,
-                                                  buffer);
+              smtpd_handle_unrecognized_command(scr, &out_data, command,
+                                                buffer);
         }
         
         if (!return_code)
@@ -177,9 +177,9 @@
 }
 
 static int smtpd_handle_unrecognized_command(smtpd_conn_rec *scr,
-                                                    smtpd_return_data
-                                                    *out_data,
-                                                    char *command, char *data)
+                                             smtpd_return_data
+                                             *out_data,
+                                             char *command, char *data)
 {
     switch(smtpd_run_unrecognized_command(scr, out_data, command, data)) {
     case SMTPD_DENY:
@@ -202,7 +202,7 @@
 }
 
 static int smtpd_handler_ehlo(smtpd_conn_rec *scr, char *buffer,
-                                     smtpd_return_data *out_data)
+                              smtpd_return_data *out_data)
 {
     smtpd_trans_rec *str = scr->transaction;
     int error;
@@ -274,7 +274,7 @@
 }
 
 static int smtpd_handler_helo(smtpd_conn_rec *scr, char *buffer,
-                       smtpd_return_data *out_data)
+                              smtpd_return_data *out_data)
 {
     smtpd_trans_rec *str = scr->transaction;
     int error;
@@ -353,7 +353,7 @@
 }
 
 static int smtpd_handler_mail(smtpd_conn_rec *scr, char *buffer,
-                       smtpd_return_data *out_data)
+                              smtpd_return_data *out_data)
 {
     smtpd_trans_rec *str = scr->transaction;
     char *email_address;
@@ -469,7 +469,7 @@
 }
 
 static int smtpd_handler_rcpt(smtpd_conn_rec *scr, char *buffer,
-                       smtpd_return_data *out_data)
+                              smtpd_return_data *out_data)
 {
     smtpd_trans_rec *str = scr->transaction;
     char *email_address;
@@ -616,12 +616,12 @@
 }
 
 static int smtpd_handler_data(smtpd_conn_rec *scr, char *buffer,
-                       smtpd_return_data *out_data)
+                              smtpd_return_data *out_data)
 {
     smtpd_trans_rec *str = scr->transaction;
     smtpd_svr_config_rec *pConfig =
-        ap_get_module_config(scr->s->module_config,
-                             &smtpd_module);
+      ap_get_module_config(scr->s->module_config,
+                           &smtpd_module);
     smtpd_header_filter_ctx header_ctx = {0, scr, NULL, NULL};
     int rv, retval = 0;
     char *tempfile;
@@ -799,7 +799,7 @@
 }
 
 static int smtpd_handler_rset(smtpd_conn_rec *scr, char *buffer,
-                       smtpd_return_data *out_data)
+                              smtpd_return_data *out_data)
 {
     if (buffer != NULL) {
         smtpd_respond_oneline(scr, 501, "Syntax: RSET");
@@ -813,7 +813,7 @@
 }
 
 static int smtpd_handler_quit(smtpd_conn_rec *scr, char *buffer,
-                       smtpd_return_data *out_data)
+                              smtpd_return_data *out_data)
 {
     if (buffer != NULL) {
         smtpd_respond_oneline(scr, 501, "Syntax: QUIT");
@@ -828,7 +828,7 @@
 }
 
 static int smtpd_handler_vrfy(smtpd_conn_rec *scr, char *buffer,
-                       smtpd_return_data *out_data)
+                              smtpd_return_data *out_data)
 {
     const char *vrfy_syntax = "^(([-[:alnum:]!#$%&'*+/=?^_`{}|~]+)|"
       "(\".*[^\\\\]\"))$";



Mime
View raw message