mirror of
https://github.com/redis/redis.git
synced 2026-06-13 10:50:03 -04:00
Fix typo in function_load local variable (#10209)
Refs: https://github.com/redis/redis/pull/10141
This commit is contained in:
parent
a43b6922d1
commit
4e17154060
1 changed files with 2 additions and 2 deletions
|
|
@ -2113,8 +2113,8 @@ static int rewriteFunctions(rio *aof) {
|
|||
} else {
|
||||
if (rioWrite(aof, "*5\r\n", 4) == 0) goto werr;
|
||||
}
|
||||
char fucntion_load[] = "$8\r\nFUNCTION\r\n$4\r\nLOAD\r\n";
|
||||
if (rioWrite(aof, fucntion_load, sizeof(fucntion_load) - 1) == 0) goto werr;
|
||||
char function_load[] = "$8\r\nFUNCTION\r\n$4\r\nLOAD\r\n";
|
||||
if (rioWrite(aof, function_load, sizeof(function_load) - 1) == 0) goto werr;
|
||||
if (rioWriteBulkString(aof, li->ei->name, sdslen(li->ei->name)) == 0) goto werr;
|
||||
if (rioWriteBulkString(aof, li->name, sdslen(li->name)) == 0) goto werr;
|
||||
if (li->desc) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue