diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2019-09-01 13:46:07 +0300 |
---|---|---|
committer | Yossi Gottlieb <yossigo@gmail.com> | 2019-09-01 13:46:07 +0300 |
commit | 5c85a0416459d8efccf580efa36fa7b4ddf57f48 (patch) | |
tree | 51cfbadd6d3e876ab5497c899cbbc3dc60f02643 /hiredis.h | |
parent | 44ef4de9d9eba37e117e5199eda3d72d26c2f4a7 (diff) |
Use a const funcs in redisContext.
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |