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
hiredis
Commits
5c85a041
Commit
5c85a041
authored
Sep 01, 2019
by
Yossi Gottlieb
Browse files
Use a const funcs in redisContext.
parent
44ef4de9
Changes
1
Hide whitespace changes
Inline
Side-by-side
hiredis.h
View file @
5c85a041
...
...
@@ -203,7 +203,7 @@ typedef struct redisContextFuncs {
/* Context for a connection to Redis */
typedef
struct
redisContext
{
redisContextFuncs
*
funcs
;
/* Function table */
const
redisContextFuncs
*
funcs
;
/* Function table */
int
err
;
/* Error flags, 0 when there is no error */
char
errstr
[
128
];
/* String representation of error when applicable */
...
...
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