summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2019-09-01 13:46:07 +0300
committerYossi Gottlieb <yossigo@gmail.com>2019-09-01 13:46:07 +0300
commit5c85a0416459d8efccf580efa36fa7b4ddf57f48 (patch)
tree51cfbadd6d3e876ab5497c899cbbc3dc60f02643 /hiredis.h
parent44ef4de9d9eba37e117e5199eda3d72d26c2f4a7 (diff)
Use a const funcs in redisContext.
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hiredis.h b/hiredis.h
index 68afb26..f02678a 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -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 */