From eb063ec60a19400a936fc59feddfebaafda48965 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Fri, 29 Mar 2019 09:35:19 -0700 Subject: [PATCH] (redis_subscribe) in verbose mode, received message gets printed with a 'received: ' header --- ws/ws_redis_subscribe.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ws/ws_redis_subscribe.cpp b/ws/ws_redis_subscribe.cpp index aa422bac..4f841b02 100644 --- a/ws/ws_redis_subscribe.cpp +++ b/ws/ws_redis_subscribe.cpp @@ -46,7 +46,7 @@ namespace ix { if (verbose) { - std::cout << message << std::endl; + std::cout << "received: " << message << std::endl; } msgPerSeconds++; @@ -84,4 +84,3 @@ namespace ix return 0; } } -