]> git.saurik.com Git - redis.git/commitdiff
conflict resolved in cherry pick
authorantirez <antirez@gmail.com>
Mon, 21 Feb 2011 23:03:03 +0000 (00:03 +0100)
committerantirez <antirez@gmail.com>
Mon, 21 Feb 2011 23:03:03 +0000 (00:03 +0100)
src/redis.c

index f2bb87fdd464152a33c9c4bfb21fd59c35cc33d1..84e5560e055e7012d8eb4fefd99ef99a3e1bd709 100644 (file)
@@ -945,6 +945,7 @@ void initServer() {
     }
 
     if (server.ds_enabled) dsInit();
+    srand(time(NULL)^getpid());
 }
 
 /* Populates the Redis Command Table starting from the hard coded list