Mercurial > hg > nginx
comparison src/event/ngx_event_quic.c @ 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 |
comparison
equal
deleted
inserted
replaced
8194:817c82af127f | 8195:2d7202fc05d1 |
---|---|
1215 return NGX_ERROR; | 1215 return NGX_ERROR; |
1216 } | 1216 } |
1217 | 1217 |
1218 if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_INITIAL) { | 1218 if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_INITIAL) { |
1219 ngx_log_error(NGX_LOG_INFO, c->log, 0, | 1219 ngx_log_error(NGX_LOG_INFO, c->log, 0, |
1220 "invalid initial packet: 0x%x", pkt.flags); | 1220 "invalid initial packet: 0x%xi", pkt.flags); |
1221 return NGX_ERROR; | 1221 return NGX_ERROR; |
1222 } | 1222 } |
1223 | 1223 |
1224 if (ngx_quic_process_initial_header(c, &pkt) != NGX_OK) { | 1224 if (ngx_quic_process_initial_header(c, &pkt) != NGX_OK) { |
1225 return NGX_ERROR; | 1225 return NGX_ERROR; |
1391 return NGX_ERROR; | 1391 return NGX_ERROR; |
1392 } | 1392 } |
1393 | 1393 |
1394 if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_HANDSHAKE) { | 1394 if ((pkt.flags & 0xf0) != NGX_QUIC_PKT_HANDSHAKE) { |
1395 ngx_log_error(NGX_LOG_INFO, c->log, 0, | 1395 ngx_log_error(NGX_LOG_INFO, c->log, 0, |
1396 "invalid packet type: 0x%x", pkt.flags); | 1396 "invalid packet type: 0x%xi", pkt.flags); |
1397 return NGX_ERROR; | 1397 return NGX_ERROR; |
1398 } | 1398 } |
1399 | 1399 |
1400 if (ngx_quic_process_handshake_header(c, &pkt) != NGX_OK) { | 1400 if (ngx_quic_process_handshake_header(c, &pkt) != NGX_OK) { |
1401 return NGX_ERROR; | 1401 return NGX_ERROR; |