summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-02-19 11:23:57 +0100
committerantirez <antirez@gmail.com>2010-02-19 11:23:57 +0100
commit12d090d2d0a9ff8d2c082b97cf405a30c7126752 (patch)
treedaa3ed06714d8237815abe07e20bf4efa9157ef6
parentce8330208aacd63743ce706be020b5a7838f0a29 (diff)
downloadredis-12d090d2d0a9ff8d2c082b97cf405a30c7126752.tar.gz
A problem with replication with multiple slaves connectiong to a single master fixed. It was due to a typo, and reported on github by the user micmac. Also the copyright year fixed from many files.
-rw-r--r--adlist.c2
-rw-r--r--adlist.h2
-rw-r--r--ae.c2
-rw-r--r--ae.h2
-rw-r--r--ae_epoll.c2
-rw-r--r--ae_select.c2
-rw-r--r--anet.c2
-rw-r--r--anet.h2
-rw-r--r--dict.c2
-rw-r--r--dict.h2
-rw-r--r--pqsort.c2
-rw-r--r--pqsort.h2
-rw-r--r--redis-benchmark.c2
-rw-r--r--redis-cli.c2
-rw-r--r--redis.c4
-rw-r--r--redis.h2
-rw-r--r--sds.c2
-rw-r--r--sds.h2
-rw-r--r--zmalloc.c2
-rw-r--r--zmalloc.h2
20 files changed, 21 insertions, 21 deletions
diff --git a/adlist.c b/adlist.c
index 15b2617c0..fd2d6fd14 100644
--- a/adlist.c
+++ b/adlist.c
@@ -1,6 +1,6 @@
/* adlist.c - A generic doubly linked list implementation
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/adlist.h b/adlist.h
index 9b5d55939..41ca13f1f 100644
--- a/adlist.h
+++ b/adlist.h
@@ -1,6 +1,6 @@
/* adlist.h - A generic doubly linked list implementation
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/ae.c b/ae.c
index 8373a0114..c7918ee1d 100644
--- a/ae.c
+++ b/ae.c
@@ -2,7 +2,7 @@
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
* it in form of a library for easy reuse.
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/ae.h b/ae.h
index d9b2cc254..a9db18ed9 100644
--- a/ae.h
+++ b/ae.h
@@ -2,7 +2,7 @@
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
* it in form of a library for easy reuse.
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/ae_epoll.c b/ae_epoll.c
index a8cd3adc1..d48977b65 100644
--- a/ae_epoll.c
+++ b/ae_epoll.c
@@ -1,5 +1,5 @@
/* Linux epoll(2) based ae.c module
- * Copyright (C) 2009 Salvatore Sanfilippo - antirez@gmail.com
+ * Copyright (C) 2009-2010 Salvatore Sanfilippo - antirez@gmail.com
* Released under the BSD license. See the COPYING file for more info. */
#include <sys/epoll.h>
diff --git a/ae_select.c b/ae_select.c
index 6dc825153..43f5867f3 100644
--- a/ae_select.c
+++ b/ae_select.c
@@ -1,5 +1,5 @@
/* Select()-based ae.c module
- * Copyright (C) 2009 Salvatore Sanfilippo - antirez@gmail.com
+ * Copyright (C) 2009-2010 Salvatore Sanfilippo - antirez@gmail.com
* Released under the BSD license. See the COPYING file for more info. */
#include <string.h>
diff --git a/anet.c b/anet.c
index 058fdd614..4fe811a11 100644
--- a/anet.c
+++ b/anet.c
@@ -1,6 +1,6 @@
/* anet.c -- Basic TCP socket stuff made a bit less boring
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/anet.h b/anet.h
index b1e9a5675..ce0f47787 100644
--- a/anet.h
+++ b/anet.h
@@ -1,6 +1,6 @@
/* anet.c -- Basic TCP socket stuff made a bit less boring
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/dict.c b/dict.c
index 6e410b753..725c9a51b 100644
--- a/dict.c
+++ b/dict.c
@@ -5,7 +5,7 @@
* tables of power of two in size are used, collisions are handled by
* chaining. See the source code for more information... :)
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/dict.h b/dict.h
index bd935d5f4..6f9eaa57b 100644
--- a/dict.h
+++ b/dict.h
@@ -5,7 +5,7 @@
* tables of power of two in size are used, collisions are handled by
* chaining. See the source code for more information... :)
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/pqsort.c b/pqsort.c
index da60fd1ff..257756376 100644
--- a/pqsort.c
+++ b/pqsort.c
@@ -1,7 +1,7 @@
/* The following is the NetBSD libc qsort implementation modified in order to
* support partial sorting of ranges for Redis.
*
- * Copyright(C) 2009 Salvatore Sanfilippo. All rights reserved.
+ * Copyright(C) 2009-2010 Salvatore Sanfilippo. All rights reserved.
*
* The original copyright notice follows. */
diff --git a/pqsort.h b/pqsort.h
index af14e31af..5054d5209 100644
--- a/pqsort.h
+++ b/pqsort.h
@@ -1,7 +1,7 @@
/* The following is the NetBSD libc qsort implementation modified in order to
* support partial sorting of ranges for Redis.
*
- * Copyright(C) 2009 Salvatore Sanfilippo. All rights reserved.
+ * Copyright(C) 2009-2010 Salvatore Sanfilippo. All rights reserved.
*
* See the pqsort.c file for the original copyright notice. */
diff --git a/redis-benchmark.c b/redis-benchmark.c
index 5bde1c353..06057b0de 100644
--- a/redis-benchmark.c
+++ b/redis-benchmark.c
@@ -1,6 +1,6 @@
/* Redis benchmark utility.
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/redis-cli.c b/redis-cli.c
index 524b74ab5..58c17613e 100644
--- a/redis-cli.c
+++ b/redis-cli.c
@@ -1,6 +1,6 @@
/* Redis CLI (command line interface)
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/redis.c b/redis.c
index a961c2470..972ebf060 100644
--- a/redis.c
+++ b/redis.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -2346,7 +2346,7 @@ static int selectDb(redisClient *c, int id) {
static void *dupClientReplyValue(void *o) {
incrRefCount((robj*)o);
- return 0;
+ return o;
}
static redisClient *createClient(int fd) {
diff --git a/redis.h b/redis.h
index f2524c1cc..18816844f 100644
--- a/redis.h
+++ b/redis.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sds.c b/sds.c
index 247b7c30d..8d1edcb7e 100644
--- a/sds.c
+++ b/sds.c
@@ -1,6 +1,6 @@
/* SDSLib, A C dynamic strings library
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sds.h b/sds.h
index d3a7a3a9f..c8b42f774 100644
--- a/sds.h
+++ b/sds.h
@@ -1,6 +1,6 @@
/* SDSLib, A C dynamic strings library
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/zmalloc.c b/zmalloc.c
index 8bf73b262..b1e96fc3c 100644
--- a/zmalloc.c
+++ b/zmalloc.c
@@ -1,6 +1,6 @@
/* zmalloc - total amount of allocated memory aware version of malloc()
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/zmalloc.h b/zmalloc.h
index fbe790302..193e7eda5 100644
--- a/zmalloc.h
+++ b/zmalloc.h
@@ -1,6 +1,6 @@
/* zmalloc - total amount of allocated memory aware version of malloc()
*
- * Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without