diff options
author | michael-grunder <michael.grunder@gmail.com> | 2015-03-05 00:54:44 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 01:16:50 +0300 |
commit | 7a106d51d6bd701bd56826f3d23583ce9879004e (patch) | |
tree | 4515eeea1eb44ddc7622a286fb417782338a17d8 /cluster_library.h | |
parent | a70ba7f2e9b85db48309eac9f459c4713814e275 (diff) |
Response handler fixes
* Fixed serialization for various multi-bulk responses
* Properly handle NULL BULK replies for variant replies
Diffstat (limited to 'cluster_library.h')
-rw-r--r-- | cluster_library.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster_library.h b/cluster_library.h index 18fff7d5..aee2f761 100644 --- a/cluster_library.h +++ b/cluster_library.h @@ -309,8 +309,8 @@ typedef struct clusterMultiCmd { * we don't encode errors, here as that's handled in the cluster structure. */ typedef struct clusterReply { REDIS_REPLY_TYPE type; /* Our reply type */ - long long integer; /* Integer reply */ - size_t len; /* Length of our string */ + size_t integer; /* Integer reply */ + long long len; /* Length of our string */ char *str; /* String reply */ size_t elements; /* Count of array elements */ struct clusterReply **element; /* Array elements */ |