changeset 8195:2d7202fc05d1 quic

Fixed format specifiers.
author Vladimir Homutov <vl@nginx.com>
date Thu, 05 Mar 2020 17:51:22 +0300
parents 817c82af127f
children d447168ed13f
files src/event/ngx_event_quic.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -1217,7 +1217,7 @@ ngx_quic_new_connection(ngx_connection_t
 
     if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_INITIAL) {
         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;
     }
 
@@ -1393,7 +1393,7 @@ ngx_quic_handshake_input(ngx_connection_
 
     if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_HANDSHAKE) {
         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;
     }