diff options
Diffstat (limited to '')
| -rw-r--r-- | src/unstable/protocolwebsocket.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unstable/protocolwebsocket.cpp b/src/unstable/protocolwebsocket.cpp index fa2d882..2bec1ce 100644 --- a/src/unstable/protocolwebsocket.cpp +++ b/src/unstable/protocolwebsocket.cpp | |||
| @@ -21,8 +21,8 @@ | |||
| 21 | 21 | ||
| 22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
| 23 | 23 | ||
| 24 | //#define DEBUG( X ) { } (void)0 | 24 | #define DEBUG( X ) { } (void)0 |
| 25 | #define DEBUG( X ) { X; } (void)0 | 25 | //#define DEBUG( X ) { X; } (void)0 |
| 26 | 26 | ||
| 27 | Bu::ProtocolWebSocket::ProtocolWebSocket() : | 27 | Bu::ProtocolWebSocket::ProtocolWebSocket() : |
| 28 | eStatus( stProtoId ) | 28 | eStatus( stProtoId ) |
| @@ -120,6 +120,7 @@ void Bu::ProtocolWebSocket::writeMessage( const Bu::String &sData, | |||
| 120 | return; | 120 | return; |
| 121 | pClient->write( cHeader, idx ); | 121 | pClient->write( cHeader, idx ); |
| 122 | pClient->write( sData ); | 122 | pClient->write( sData ); |
| 123 | pClient->outputReady(); | ||
| 123 | } | 124 | } |
| 124 | 125 | ||
| 125 | bool Bu::ProtocolWebSocket::stateProtoId() | 126 | bool Bu::ProtocolWebSocket::stateProtoId() |
