commit | 3ca3f609cb7d9bc5576bf9fb77998cf110b688cb | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Mon Sep 01 17:50:59 2014 +0400 |
committer | Valentin Bartenev <vbart@nginx.com> | Mon Sep 01 17:50:59 2014 +0400 |
tree | c5d232ec2e08b379ce956fc1d7f839e9aef2b6eb | |
parent | be6175d49d7a002aa4bd0ad811976ea87fc928ad [diff] |
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.
diff --git a/src/mail/ngx_mail_handler.c b/src/mail/ngx_mail_handler.c index 784111f..57b69b5 100644 --- a/src/mail/ngx_mail_handler.c +++ b/src/mail/ngx_mail_handler.c
@@ -121,6 +121,8 @@ return; } + s->signature = NGX_MAIL_MODULE; + s->main_conf = addr_conf->ctx->main_conf; s->srv_conf = addr_conf->ctx->srv_conf;