mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Fix typo in function_load local variable (#10209)
Refs: https://github.com/redis/redis/pull/10141
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user