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
2480315f
Commit
2480315f
authored
Oct 15, 2014
by
antirez
Browse files
redis-cli: add missing newline in error message.
parent
f0124c1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
2480315f
...
@@ -1511,7 +1511,7 @@ static void findBigKeys(void) {
...
@@ -1511,7 +1511,7 @@ static void findBigKeys(void) {
for
(
i
=
0
;
i
<
TYPE_NONE
;
i
++
)
{
for
(
i
=
0
;
i
<
TYPE_NONE
;
i
++
)
{
maxkeys
[
i
]
=
sdsempty
();
maxkeys
[
i
]
=
sdsempty
();
if
(
!
maxkeys
[
i
])
{
if
(
!
maxkeys
[
i
])
{
fprintf
(
stderr
,
"Failed to allocate memory for largest key names!"
);
fprintf
(
stderr
,
"Failed to allocate memory for largest key names!
\n
"
);
exit
(
1
);
exit
(
1
);
}
}
}
}
...
...
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