summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hiredis.c1
-rw-r--r--read.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/hiredis.c b/hiredis.c
index 78b2837..739ce2a 100644
--- a/hiredis.c
+++ b/hiredis.c
@@ -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;
}
diff --git a/read.c b/read.c
index fa40e61..ebbe02c 100644
--- a/read.c
+++ b/read.c
@@ -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);