Skip to content

Commit 6dc0fea

Browse files
authored
[=] fix typo in prefix (#457)
1 parent 7eb9430 commit 6dc0fea

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/common/xqc_priority_q.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* @copyright Copyright (c) 2022, Alibaba Group Holding Limited
33
*/
44

5-
#ifndef _NGX_H_PRIORITY_Q_INCLUDED_
6-
#define _NGX_H_PRIORITY_Q_INCLUDED_
5+
#ifndef _XQC_H_PRIORITY_Q_INCLUDED_
6+
#define _XQC_H_PRIORITY_Q_INCLUDED_
77

88
#include <string.h>
99
#include <stdint.h>
@@ -186,4 +186,4 @@ xqc_pq_pop(xqc_pq_t *pq)
186186
#undef xqc_pq_element
187187
#undef xqc_pq_element_copy
188188

189-
#endif /*_NGX_H_PRIORITY_Q_INCLUDED_*/
189+
#endif /*_XQC_H_PRIORITY_Q_INCLUDED_*/

src/common/xqc_str.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,12 @@ xqc_vsprintf(unsigned char *buf, unsigned char *last, const char *fmt, va_list a
281281
unsigned char *
282282
xqc_sprintf_num(unsigned char *buf, unsigned char *last, uint64_t ui64, unsigned char zero, uintptr_t hexadecimal, uintptr_t width)
283283
{
284-
unsigned char *p, temp[XQC_INT64_LEN + 1];
285284
/*
286-
* we need temp[NGX_INT64_LEN] only,
285+
* we need temp[XQC_INT64_LEN] only,
287286
* but icc issues the warning
288287
*/
288+
unsigned char *p, temp[XQC_INT64_LEN + 1];
289+
289290
size_t len;
290291
uint32_t ui32;
291292
static const unsigned char hex[] = "0123456789abcdef";

0 commit comments

Comments
 (0)