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
b2e10131
Commit
b2e10131
authored
Sep 04, 2019
by
antirez
Browse files
Rio: fix flag name, function is never used btw.
Thanks to @tnclong for reporting the problem.
parent
06d49034
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rio.h
View file @
b2e10131
...
...
@@ -150,7 +150,7 @@ static inline int rioGetReadError(rio *r) {
/* Like rioGetReadError() but for write errors. */
static
inline
int
rioGetWriteError
(
rio
*
r
)
{
return
(
r
->
flags
&
RIO_FLAG_
READ
_ERROR
)
!=
0
;
return
(
r
->
flags
&
RIO_FLAG_
WRITE
_ERROR
)
!=
0
;
}
static
inline
void
rioClearErrors
(
rio
*
r
)
{
...
...
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