Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
4e171540
Unverified
Commit
4e171540
authored
Jan 30, 2022
by
Tobias Nießen
Committed by
GitHub
Jan 30, 2022
Browse files
Fix typo in function_load local variable (#10209)
Refs:
https://github.com/redis/redis/pull/10141
parent
a43b6922
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aof.c
View file @
4e171540
...
...
@@ -2113,8 +2113,8 @@ static int rewriteFunctions(rio *aof) {
}
else
{
if
(
rioWrite
(
aof
,
"*5
\r\n
"
,
4
)
==
0
)
goto
werr
;
}
char
fu
c
ntion_load
[]
=
"$8
\r\n
FUNCTION
\r\n
$4
\r\n
LOAD
\r\n
"
;
if
(
rioWrite
(
aof
,
fu
c
ntion_load
,
sizeof
(
fu
c
ntion_load
)
-
1
)
==
0
)
goto
werr
;
char
fun
c
tion_load
[]
=
"$8
\r\n
FUNCTION
\r\n
$4
\r\n
LOAD
\r\n
"
;
if
(
rioWrite
(
aof
,
fun
c
tion_load
,
sizeof
(
fun
c
tion_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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment