Permalink
Browse files

turn persistence into a proper set

  • Loading branch information...
abedra committed Jan 5, 2012
1 parent 1cda940 commit be875c96ffc5135db275faf7be90f0ea28e0f1b5
Showing with 1 addition and 1 deletion.
  1. +1 −1 bungleo-client.c
View
@@ -20,7 +20,7 @@ static char * zrecv(void *socket) {
}
static int persist(redisContext *c, const char *key, const char *value) {
- redisReply *reply = redisCommand(c, "SET %s %s", key, value);
+ redisReply *reply = redisCommand(c, "SADD %s %s", key, value);
int response = reply->type;
freeReplyObject(reply);
return(response);

0 comments on commit be875c9

Please sign in to comment.