diff --git a/CHANGELOG.md b/CHANGELOG.md index 91d5380f..d01545a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 241: + +* Tidy up a doc code snippet + +-------------------------------------------------------------------------------- + Version 240: * Fix ssl_stream teardown diff --git a/test/doc/websocket_4_messages.cpp b/test/doc/websocket_4_messages.cpp index c7ee8224..11e321d7 100644 --- a/test/doc/websocket_4_messages.cpp +++ b/test/doc/websocket_4_messages.cpp @@ -122,6 +122,7 @@ snippets() // Discard all of the bytes stored in the dynamic buffer, // otherwise the next call to read will append to the existing // data instead of building a fresh message. + buffer.consume(buffer.size()); //] }