summaryrefslogtreecommitdiff
path: root/src/replication.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-03-10 09:48:06 +0100
committerantirez <antirez@gmail.com>2019-03-10 09:48:06 +0100
commit8a46d32be2eaf07b6b2e8c3757e4d9f59cd1ab64 (patch)
tree52100b02b3eac603d099605a815ad5bad8556461 /src/replication.c
parent55acac04b439b758bfcc0bdc3d956df288044e29 (diff)
downloadredis-8a46d32be2eaf07b6b2e8c3757e4d9f59cd1ab64.tar.gz
Make comment in #5911 stay inside 80 cols.
Diffstat (limited to 'src/replication.c')
-rw-r--r--src/replication.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/replication.c b/src/replication.c
index 26313893d..3c30999af 100644
--- a/src/replication.c
+++ b/src/replication.c
@@ -2041,7 +2041,8 @@ void replicaofCommand(client *c) {
if (c->flags & CLIENT_SLAVE)
{
/* If a client is already a replica they cannot run this command,
- * because it involves flushing all replicas (including this client) */
+ * because it involves flushing all replicas (including this
+ * client) */
addReplyError(c, "Command is not valid when client is a replica.");
return;
}