comparison src/mail/ngx_mail_handler.c @ 5600:957d734362ed

Fixed format specifier in logging of "c->number".
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 06 Mar 2014 18:25:59 +0400
parents 04e43d03e153
children b42e7c790b81
comparison
equal deleted inserted replaced
5599:68e41f0cb207 5600:957d734362ed
125 s->addr_text = &addr_conf->addr_text; 125 s->addr_text = &addr_conf->addr_text;
126 126
127 c->data = s; 127 c->data = s;
128 s->connection = c; 128 s->connection = c;
129 129
130 ngx_log_error(NGX_LOG_INFO, c->log, 0, "*%ui client %V connected to %V", 130 ngx_log_error(NGX_LOG_INFO, c->log, 0, "*%uA client %V connected to %V",
131 c->number, &c->addr_text, s->addr_text); 131 c->number, &c->addr_text, s->addr_text);
132 132
133 ctx = ngx_palloc(c->pool, sizeof(ngx_mail_log_ctx_t)); 133 ctx = ngx_palloc(c->pool, sizeof(ngx_mail_log_ctx_t));
134 if (ctx == NULL) { 134 if (ctx == NULL) {
135 ngx_mail_close_connection(c); 135 ngx_mail_close_connection(c);