mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
Mail: initialize the "signature" field of ngx_mail_session_t.
Currently it isn't used, but it can be suitable to distinguish objects stored in c->data.
This commit is contained in:
parent
be6175d49d
commit
3ca3f609cb
@ -121,6 +121,8 @@ ngx_mail_init_connection(ngx_connection_t *c)
|
||||
return;
|
||||
}
|
||||
|
||||
s->signature = NGX_MAIL_MODULE;
|
||||
|
||||
s->main_conf = addr_conf->ctx->main_conf;
|
||||
s->srv_conf = addr_conf->ctx->srv_conf;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user