From cdb1beb9472a6ca7493a86013450903867682d89 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Tue, 31 Jan 2012 09:14:44 -0600 Subject: [PATCH] fixes a crash when sending messages to hybi00 clients --- src/processors/hybi_legacy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processors/hybi_legacy.hpp b/src/processors/hybi_legacy.hpp index e2ed6902ec..0fcba1c784 100644 --- a/src/processors/hybi_legacy.hpp +++ b/src/processors/hybi_legacy.hpp @@ -265,7 +265,7 @@ public: return; } - msg->set_header(std::string(0x00)); + msg->set_header(std::string(1,0x00)); msg->append_payload(std::string(1,0xFF));