From 6a655bc5a658e4e32254dbfa0640984e074af093 Mon Sep 17 00:00:00 2001 From: Nadav Har'El Date: Sun, 20 Sep 2015 11:41:42 +0300 Subject: [PATCH] Fix typo in stream_init_message.hh The debug build uncovered this typo. It was setting a class member with itself (with an undefined value) instead from the parameter, which I was surprised the compiler didn't catch at compile time. Discovered in issue #368. Signed-off-by: Nadav Har'El --- streaming/messages/stream_init_message.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming/messages/stream_init_message.hh b/streaming/messages/stream_init_message.hh index 8fc485bab1..15727cd5f1 100644 --- a/streaming/messages/stream_init_message.hh +++ b/streaming/messages/stream_init_message.hh @@ -72,7 +72,7 @@ public: , plan_id(_plan_id) , description(_description) , is_for_outgoing(_is_for_outgoing) - , keep_ss_table_level(-keep_ss_table_level) { + , keep_ss_table_level(_keep_ss_table_level) { } #if 0