Klaus Demo nginx / bd3516e
Fixed format specifier in logging of "c->number". Sergey Kandaurov 8 years ago
4 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
30613061 #endif
30623062
30633063 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, &uc->log, 0,
3064 "connect to %V, fd:%d #%d", &uc->server, s, c->number);
3064 "connect to %V, fd:%d #%uA", &uc->server, s, c->number);
30653065
30663066 rc = connect(s, uc->sockaddr, uc->socklen);
30673067
343343 #endif
344344
345345 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, log, 0,
346 "*%d accept: %V fd:%d", c->number, &c->addr_text, s);
346 "*%uA accept: %V fd:%d", c->number, &c->addr_text, s);
347347
348348 if (ngx_add_conn && (ngx_event_flags & NGX_USE_EPOLL_EVENT) == 0) {
349349 if (ngx_add_conn(c) == NGX_ERROR) {
121121 }
122122
123123 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, pc->log, 0,
124 "connect to %V, fd:%d #%d", pc->name, s, c->number);
124 "connect to %V, fd:%d #%uA", pc->name, s, c->number);
125125
126126 rc = connect(s, pc->sockaddr, pc->socklen);
127127
126126 c->data = s;
127127 s->connection = c;
128128
129 ngx_log_error(NGX_LOG_INFO, c->log, 0, "*%ui client %V connected to %V",
129 ngx_log_error(NGX_LOG_INFO, c->log, 0, "*%uA client %V connected to %V",
130130 c->number, &c->addr_text, s->addr_text);
131131
132132 ctx = ngx_palloc(c->pool, sizeof(ngx_mail_log_ctx_t));