diff options
author | git-hulk <hulk.website@gmail.com> | 2024-01-31 09:58:40 +0800 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2024-01-31 12:08:52 -0800 |
commit | ab30060a6ed10aca62d8efe9f96c2b7ec05e70f6 (patch) | |
tree | b75333d5fd0daa68e157964b330bdb49bf0250f4 | |
parent | 5b253d89c7cc9593723334e0a45077bd4008d3db (diff) |
Fix review comments
-rw-r--r-- | hiredis.c | 1 | ||||
-rw-r--r-- | read.c | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -217,7 +217,6 @@ static void *createIntegerObject(const redisReadTask *task, long long value) { parent->type == REDIS_REPLY_MAP || parent->type == REDIS_REPLY_ATTR || parent->type == REDIS_REPLY_SET || - parent->type == REDIS_REPLY_SET || parent->type == REDIS_REPLY_PUSH); parent->element[task->idx] = r; } @@ -646,7 +646,7 @@ static int processItem(redisReader *r) { return processBulkItem(r); case REDIS_REPLY_ARRAY: case REDIS_REPLY_MAP: - case REDIS_REPLY_ATTR: + case REDIS_REPLY_ATTR: case REDIS_REPLY_SET: case REDIS_REPLY_PUSH: return processAggregateItem(r); |