diff --git a/bin/pibs.c b/bin/pibs.c index e6c90ca..e5030df 100644 --- a/bin/pibs.c +++ b/bin/pibs.c @@ -450,7 +450,7 @@ void process_redis_list(pibs_t* pibs) } } do { - reply = redisCommand(pibs->ctx,"LPOP %s", pibs->key); + reply = redisCommand(pibs->ctx,"RPOP %s", pibs->key); if (reply) { rtype = reply->type; if (rtype == REDIS_REPLY_STRING ) {