Commit 12d090d2 authored by antirez's avatar antirez
Browse files

A problem with replication with multiple slaves connectiong to a single master...

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.
parent ce833020
/* adlist.c - A generic doubly linked list implementation /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* adlist.h - A generic doubly linked list implementation /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated * for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
* it in form of a library for easy reuse. * 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated * for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
* it in form of a library for easy reuse. * 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* Linux epoll(2) based ae.c module /* 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. */ * Released under the BSD license. See the COPYING file for more info. */
#include <sys/epoll.h> #include <sys/epoll.h>
......
/* Select()-based ae.c module /* 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. */ * Released under the BSD license. See the COPYING file for more info. */
#include <string.h> #include <string.h>
......
/* anet.c -- Basic TCP socket stuff made a bit less boring /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* anet.c -- Basic TCP socket stuff made a bit less boring /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* tables of power of two in size are used, collisions are handled by * tables of power of two in size are used, collisions are handled by
* chaining. See the source code for more information... :) * 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* tables of power of two in size are used, collisions are handled by * tables of power of two in size are used, collisions are handled by
* chaining. See the source code for more information... :) * 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* The following is the NetBSD libc qsort implementation modified in order to /* The following is the NetBSD libc qsort implementation modified in order to
* support partial sorting of ranges for Redis. * 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. */ * The original copyright notice follows. */
......
/* The following is the NetBSD libc qsort implementation modified in order to /* The following is the NetBSD libc qsort implementation modified in order to
* support partial sorting of ranges for Redis. * 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. */ * See the pqsort.c file for the original copyright notice. */
......
/* Redis benchmark utility. /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* Redis CLI (command line interface) /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* /*
* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
...@@ -2346,7 +2346,7 @@ static int selectDb(redisClient *c, int id) { ...@@ -2346,7 +2346,7 @@ static int selectDb(redisClient *c, int id) {
static void *dupClientReplyValue(void *o) { static void *dupClientReplyValue(void *o) {
incrRefCount((robj*)o); incrRefCount((robj*)o);
return 0; return o;
} }
static redisClient *createClient(int fd) { static redisClient *createClient(int fd) {
......
/* /*
* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* SDSLib, A C dynamic strings library /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* SDSLib, A C dynamic strings library /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* zmalloc - total amount of allocated memory aware version of malloc() /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
/* zmalloc - total amount of allocated memory aware version of malloc() /* 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. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment