From 41c37cfd930b140ec58c39bcae667e4aedcf4a5b Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Fri, 6 Feb 2015 07:58:00 -0500 Subject: [PATCH] make sure key is always initialized some compilers complain without this. Its probably a safer sane default anyways. --- websocketpp/processors/hybi13.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/websocketpp/processors/hybi13.hpp b/websocketpp/processors/hybi13.hpp index 51ce340..80aeff2 100644 --- a/websocketpp/processors/hybi13.hpp +++ b/websocketpp/processors/hybi13.hpp @@ -563,6 +563,7 @@ public: } else { frame::extended_header e(i.size()); out->set_header(frame::prepare_header(h,e)); + key.i = 0; } // prepare payload