mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Enlarge error buffer in redis-check-aof.c to remove compiler warning of output truncation through snprintf format string
This commit is contained in:
parent
bea09a7fa6
commit
a1fb0be1d7
@ -37,7 +37,7 @@
|
|||||||
snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \
|
snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \
|
||||||
}
|
}
|
||||||
|
|
||||||
static char error[1024];
|
static char error[1044];
|
||||||
static off_t epos;
|
static off_t epos;
|
||||||
|
|
||||||
int consumeNewline(char *buf) {
|
int consumeNewline(char *buf) {
|
||||||
|
Loading…
Reference in New Issue
Block a user