aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail_ssl_module.c
diff options
context:
space:
mode:
authorPiotr Sikora <piotr@cloudflare.com>2013-05-21 18:43:43 -0700
committerPiotr Sikora <piotr@cloudflare.com>2013-05-21 18:43:43 -0700
commitc3d20f52d083e976da179f183eb89e1f5974c331 (patch)
tree384196954a38404644b78065e83ba5cb41ae72d7 /src/mail/ngx_mail_ssl_module.c
parent4fd486e68ccc90f38c4bfc1ed9abef99565471cb (diff)
downloadnginx-c3d20f52d083e976da179f183eb89e1f5974c331.tar.gz
nginx-c3d20f52d083e976da179f183eb89e1f5974c331.zip
Style: remove unnecessary references to HTTP from non-HTTP modules.
No functional changes. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
Diffstat (limited to 'src/mail/ngx_mail_ssl_module.c')
-rw-r--r--src/mail/ngx_mail_ssl_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mail/ngx_mail_ssl_module.c b/src/mail/ngx_mail_ssl_module.c
index 780d834c6..dbfb9c702 100644
--- a/src/mail/ngx_mail_ssl_module.c
+++ b/src/mail/ngx_mail_ssl_module.c
@@ -25,7 +25,7 @@ static char *ngx_mail_ssl_session_cache(ngx_conf_t *cf, ngx_command_t *cmd,
void *conf);
-static ngx_conf_enum_t ngx_http_starttls_state[] = {
+static ngx_conf_enum_t ngx_mail_starttls_state[] = {
{ ngx_string("off"), NGX_MAIL_STARTTLS_OFF },
{ ngx_string("on"), NGX_MAIL_STARTTLS_ON },
{ ngx_string("only"), NGX_MAIL_STARTTLS_ONLY },
@@ -58,7 +58,7 @@ static ngx_command_t ngx_mail_ssl_commands[] = {
ngx_mail_ssl_starttls,
NGX_MAIL_SRV_CONF_OFFSET,
offsetof(ngx_mail_ssl_conf_t, starttls),
- ngx_http_starttls_state },
+ ngx_mail_starttls_state },
{ ngx_string("ssl_certificate"),
NGX_MAIL_MAIN_CONF|NGX_MAIL_SRV_CONF|NGX_CONF_TAKE1,