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
2d5aa009
Commit
2d5aa009
authored
Jul 06, 2017
by
Salvatore Sanfilippo
Committed by
GitHub
Jul 06, 2017
Browse files
Merge pull request #4106 from petersunbag/unstable
minor fix in listJoin().
parents
2b36950e
87f771bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/adlist.c
View file @
2d5aa009
...
...
@@ -357,6 +357,6 @@ void listJoin(list *l, list *o) {
l
->
len
+=
o
->
len
;
/* Setup other as an empty list. */
o
->
head
=
l
->
tail
=
NULL
;
o
->
head
=
o
->
tail
=
NULL
;
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