comparison src/mail/ngx_mail_handler.c @ 7792:adee10c7fac8

Mail: fixed log action after SSL handshake.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 05 Mar 2021 17:16:20 +0300
parents d84f13618277
children 12ea1de7d87c
comparison
equal deleted inserted replaced
7791:d84f13618277 7792:adee10c7fac8
363 ngx_mail_session_t *s; 363 ngx_mail_session_t *s;
364 ngx_mail_core_srv_conf_t *cscf; 364 ngx_mail_core_srv_conf_t *cscf;
365 365
366 s = c->data; 366 s = c->data;
367 367
368 c->log->action = "sending client greeting line";
369
368 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); 370 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module);
369 371
370 s->protocol = cscf->protocol->type; 372 s->protocol = cscf->protocol->type;
371 373
372 s->ctx = ngx_pcalloc(c->pool, sizeof(void *) * ngx_mail_max_module); 374 s->ctx = ngx_pcalloc(c->pool, sizeof(void *) * ngx_mail_max_module);