diff options
Diffstat (limited to 'common/rfb/SMsgReader.cxx')
-rw-r--r-- | common/rfb/SMsgReader.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rfb/SMsgReader.cxx b/common/rfb/SMsgReader.cxx index ab42e59a..dc7ddea6 100644 --- a/common/rfb/SMsgReader.cxx +++ b/common/rfb/SMsgReader.cxx @@ -293,7 +293,8 @@ void SMsgReader::readExtendedClipboard(rdr::S32 len) num++; } - zis.removeUnderlying(); + zis.flushUnderlying(); + zis.setUnderlying(NULL, 0); handler->handleClipboardProvide(flags, lengths, buffers); |