diff --git a/src/replication.c b/src/replication.c index a98d0d35..1962b3a4 100644 --- a/src/replication.c +++ b/src/replication.c @@ -296,7 +296,9 @@ void replicationFeedSlavesFromMasterStream(list *slaves, char *buf, size_t bufle listNode *ln; listIter li; - { + /* Debugging: this is handy to see the stream sent from master + * to slaves. Disabled with if(0). */ + if (0) { printf("%zu:",buflen); for (size_t j = 0; j < buflen; j++) { printf("%c", isprint(buf[j]) ? buf[j] : '.');