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
386b43c6
Commit
386b43c6
authored
Mar 03, 2010
by
antirez
Browse files
fpurge call removed from redis-cli
parent
3589e1a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis-cli.c
View file @
386b43c6
...
...
@@ -441,11 +441,8 @@ static char *prompt(char *line, int size) {
printf
(
">> "
);
retval
=
fgets
(
line
,
size
,
stdin
);
}
while
(
retval
&&
*
line
==
'\n'
);
line
[
strlen
(
line
)
-
1
]
=
'\0'
;
fpurge
(
stdin
);
return
retval
;
}
...
...
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