]> git.saurik.com Git - redis.git/commitdiff
Fix case in RPOPLPUSH.
authorDamian Janowski & Michel Martens <damian.janowski+soveran@gmail.com>
Mon, 8 Nov 2010 13:43:21 +0000 (10:43 -0300)
committerMichel Martens <michel@soveran.com>
Tue, 30 Nov 2010 02:52:07 +0000 (23:52 -0300)
src/redis.c
src/redis.h
src/t_list.c

index 5b39c011f537e5e4e6845e483c3b4b90449e1bc1..1f7e7d2662844c61e8cfd427c9ee2498279b9cd9 100644 (file)
@@ -96,7 +96,7 @@ struct redisCommand readonlyCommandTable[] = {
     {"lrange",lrangeCommand,4,0,NULL,1,1,1},
     {"ltrim",ltrimCommand,4,0,NULL,1,1,1},
     {"lrem",lremCommand,4,0,NULL,1,1,1},
-    {"rpoplpush",rpoplpushcommand,3,REDIS_CMD_DENYOOM,NULL,1,2,1},
+    {"rpoplpush",rpoplpushCommand,3,REDIS_CMD_DENYOOM,NULL,1,2,1},
     {"sadd",saddCommand,3,REDIS_CMD_DENYOOM,NULL,1,1,1},
     {"srem",sremCommand,3,0,NULL,1,1,1},
     {"smove",smoveCommand,4,0,NULL,1,2,1},
index 11e4e557f312a928942f2d7e9d479d463ef5abaa..6bd0fd5dfe96f82f644f469dc08b5727eb32f87c 100644 (file)
@@ -932,7 +932,7 @@ void flushdbCommand(redisClient *c);
 void flushallCommand(redisClient *c);
 void sortCommand(redisClient *c);
 void lremCommand(redisClient *c);
-void rpoplpushcommand(redisClient *c);
+void rpoplpushCommand(redisClient *c);
 void infoCommand(redisClient *c);
 void mgetCommand(redisClient *c);
 void monitorCommand(redisClient *c);
index 42e1d5873eb8af400d1288aa40f9f057784a9781..10e7f72c7137a336c4ec576aa21551d976c5f5e5 100644 (file)
@@ -618,7 +618,7 @@ void lremCommand(redisClient *c) {
  * since the element is not just returned but pushed against another list
  * as well. This command was originally proposed by Ezra Zygmuntowicz.
  */
-void rpoplpushcommand(redisClient *c) {
+void rpoplpushCommand(redisClient *c) {
     robj *sobj, *value;
     if ((sobj = lookupKeyWriteOrReply(c,c->argv[1],shared.nullbulk)) == NULL ||
         checkType(c,sobj,REDIS_LIST)) return;