diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-12-10 12:09:51 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-10 12:09:51 +0000 |
| commit | 86ef6aaa6b574f2015a5094670b7123c425a63af (patch) | |
| tree | e0b78dcc48085162b29fbff2c0aeb7e5bd75c654 /src/mail/ngx_mail_pop3_handler.c | |
| parent | e60049418525a5e605765aa2b8f9c6796eb390a6 (diff) | |
| download | nginx-86ef6aaa6b574f2015a5094670b7123c425a63af.tar.gz nginx-86ef6aaa6b574f2015a5094670b7123c425a63af.tar.bz2 | |
move condition declarations inside blocks where they are used
Diffstat (limited to 'src/mail/ngx_mail_pop3_handler.c')
| -rw-r--r-- | src/mail/ngx_mail_pop3_handler.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mail/ngx_mail_pop3_handler.c b/src/mail/ngx_mail_pop3_handler.c index 966345a5a..c486fbebd 100644 --- a/src/mail/ngx_mail_pop3_handler.c +++ b/src/mail/ngx_mail_pop3_handler.c @@ -283,7 +283,7 @@ ngx_mail_pop3_auth_state(ngx_event_t *rev) static ngx_int_t ngx_mail_pop3_user(ngx_mail_session_t *s, ngx_connection_t *c) { - ngx_str_t *arg; + ngx_str_t *arg; #if (NGX_MAIL_SSL) if (ngx_mail_starttls_only(s, c)) { @@ -344,15 +344,14 @@ static ngx_int_t ngx_mail_pop3_capa(ngx_mail_session_t *s, ngx_connection_t *c, ngx_int_t stls) { ngx_mail_pop3_srv_conf_t *pscf; -#if (NGX_MAIL_SSL) - ngx_mail_ssl_conf_t *sslcf; -#endif pscf = ngx_mail_get_module_srv_conf(s, ngx_mail_pop3_module); #if (NGX_MAIL_SSL) if (stls && c->ssl == NULL) { + ngx_mail_ssl_conf_t *sslcf; + sslcf = ngx_mail_get_module_srv_conf(s, ngx_mail_ssl_module); if (sslcf->starttls == NGX_MAIL_STARTTLS_ON) { |
