]> git.kaiwu.me - nginx.git/commitdiff
Fixed format specifiers.
authorVladimir Homutov <vl@nginx.com>
Thu, 5 Mar 2020 14:51:22 +0000 (17:51 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 5 Mar 2020 14:51:22 +0000 (17:51 +0300)
src/event/ngx_event_quic.c

index 233a4610bf301412abfb18c4b8532f6f48c7fc2b..2d36863b4465abf59d7344591db7ddabb09f9494 100644 (file)
@@ -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) {
         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_t *c, ngx_buf_t *b)
 
     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;
     }