summaryrefslogtreecommitdiffhomepage
path: root/src/mail
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2016-03-30 11:52:16 +0300
committerRuslan Ermilov <ru@nginx.com>2016-03-30 11:52:16 +0300
commit7ad57da59821294255610545b2b5ce07e74124a5 (patch)
tree91bb44ad5950b703d0f49a8744f0b9b08cf29f11 /src/mail
parentdfbc51a8cc850154fe8839408f32c7e322f5cdf0 (diff)
downloadnginx-7ad57da59821294255610545b2b5ce07e74124a5.tar.gz
nginx-7ad57da59821294255610545b2b5ce07e74124a5.tar.bz2
Style.
Diffstat (limited to 'src/mail')
-rw-r--r--src/mail/ngx_mail.h2
-rw-r--r--src/mail/ngx_mail_smtp_handler.c2
-rw-r--r--src/mail/ngx_mail_ssl_module.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h
index 07d0cb60c..bfbf76821 100644
--- a/src/mail/ngx_mail.h
+++ b/src/mail/ngx_mail.h
@@ -342,7 +342,7 @@ typedef struct {
void *(*create_srv_conf)(ngx_conf_t *cf);
char *(*merge_srv_conf)(ngx_conf_t *cf, void *prev,
- void *conf);
+ void *conf);
} ngx_mail_module_t;
diff --git a/src/mail/ngx_mail_smtp_handler.c b/src/mail/ngx_mail_smtp_handler.c
index 46d703e2c..81cc75f24 100644
--- a/src/mail/ngx_mail_smtp_handler.c
+++ b/src/mail/ngx_mail_smtp_handler.c
@@ -42,7 +42,7 @@ static u_char smtp_username[] = "334 VXNlcm5hbWU6" CRLF;
static u_char smtp_password[] = "334 UGFzc3dvcmQ6" CRLF;
static u_char smtp_invalid_command[] = "500 5.5.1 Invalid command" CRLF;
static u_char smtp_invalid_pipelining[] =
- "503 5.5.0 Improper use of SMTP command pipelining" CRLF;
+ "503 5.5.0 Improper use of SMTP command pipelining" CRLF;
static u_char smtp_invalid_argument[] = "501 5.5.4 Invalid argument" CRLF;
static u_char smtp_auth_required[] = "530 5.7.1 Authentication required" CRLF;
static u_char smtp_bad_sequence[] = "503 5.5.1 Bad sequence of commands" CRLF;
diff --git a/src/mail/ngx_mail_ssl_module.c b/src/mail/ngx_mail_ssl_module.c
index 1075410da..971085c1a 100644
--- a/src/mail/ngx_mail_ssl_module.c
+++ b/src/mail/ngx_mail_ssl_module.c
@@ -312,13 +312,13 @@ ngx_mail_ssl_merge_conf(ngx_conf_t *cf, void *parent, void *child)
conf->ssl.log = cf->log;
if (conf->enable) {
- mode = "ssl";
+ mode = "ssl";
} else if (conf->starttls != NGX_MAIL_STARTTLS_OFF) {
- mode = "starttls";
+ mode = "starttls";
} else {
- mode = "";
+ mode = "";
}
if (conf->file == NULL) {