Fixed format specifiers.
This commit is contained in:
parent
0039105abd
commit
6f67c00f50
1 changed files with 2 additions and 2 deletions
|
@ -1217,7 +1217,7 @@ ngx_quic_new_connection(ngx_connection_t *c, ngx_ssl_t *ssl, ngx_buf_t *b)
|
||||||
|
|
||||||
if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_INITIAL) {
|
if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_INITIAL) {
|
||||||
ngx_log_error(NGX_LOG_INFO, c->log, 0,
|
ngx_log_error(NGX_LOG_INFO, c->log, 0,
|
||||||
"invalid initial packet: 0x%x", pkt.flags);
|
"invalid initial packet: 0x%xi", pkt.flags);
|
||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1393,7 +1393,7 @@ ngx_quic_handshake_input(ngx_connection_t *c, ngx_buf_t *b)
|
||||||
|
|
||||||
if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_HANDSHAKE) {
|
if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_HANDSHAKE) {
|
||||||
ngx_log_error(NGX_LOG_INFO, c->log, 0,
|
ngx_log_error(NGX_LOG_INFO, c->log, 0,
|
||||||
"invalid packet type: 0x%x", pkt.flags);
|
"invalid packet type: 0x%xi", pkt.flags);
|
||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue