summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-03-10 09:48:06 +0100
committerantirez <antirez@gmail.com>2019-03-10 09:52:19 +0100
commitb0e863195e4e1870eb4f3480fa8b15c6aff2a956 (patch)
tree3d96dc7afef1190db3fd1b5f6e7ad62081dc2dd2
parent39ccce033a08740562b48a3e39746beabfbe6e38 (diff)
downloadredis-b0e863195e4e1870eb4f3480fa8b15c6aff2a956.tar.gz
Make comment in #5911 stay inside 80 cols.
-rw-r--r--src/replication.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/replication.c b/src/replication.c
index f442d86d6..5de4b9d7e 100644
--- a/src/replication.c
+++ b/src/replication.c
@@ -2026,7 +2026,8 @@ void slaveofCommand(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;
}