diff --git a/test-redis++.cpp b/test-redis++.cpp index 3845ad2..fc8b587 100644 --- a/test-redis++.cpp +++ b/test-redis++.cpp @@ -22,7 +22,7 @@ void keyspace_subscriber_thread(sw::redis::Redis &redis) { try { auto sub = redis.subscriber(); sub.on_message([](std::string channel, std::string msg) { - std::cout << "Received keyspace event from channel " << channel << ": " << msg << std::endl; + std::cout << "Received keyspace event from channel: " << channel << " : " << msg << std::endl; }); //突然又可以了