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
1cefb1c5
Commit
1cefb1c5
authored
Jul 06, 2017
by
sunweinan
Committed by
antirez
Jul 06, 2017
Browse files
minor fix in listJoin().
parent
db791a1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/adlist.c
View file @
1cefb1c5
...
@@ -357,6 +357,6 @@ void listJoin(list *l, list *o) {
...
@@ -357,6 +357,6 @@ void listJoin(list *l, list *o) {
l
->
len
+=
o
->
len
;
l
->
len
+=
o
->
len
;
/* Setup other as an empty list. */
/* Setup other as an empty list. */
o
->
head
=
l
->
tail
=
NULL
;
o
->
head
=
o
->
tail
=
NULL
;
o
->
len
=
0
;
o
->
len
=
0
;
}
}
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