Page MenuHomeFreeBSD

D20673.diff
No OneTemporary

D20673.diff

Index: head/usr.sbin/bhyve/rfb.c
===================================================================
--- head/usr.sbin/bhyve/rfb.c
+++ head/usr.sbin/bhyve/rfb.c
@@ -273,8 +273,10 @@
rc->enc_raw_ok = true;
break;
case RFB_ENCODING_ZLIB:
- rc->enc_zlib_ok = true;
- deflateInit(&rc->zstream, Z_BEST_SPEED);
+ if (!rc->enc_zlib_ok) {
+ deflateInit(&rc->zstream, Z_BEST_SPEED);
+ rc->enc_zlib_ok = true;
+ }
break;
case RFB_ENCODING_RESIZE:
rc->enc_resize_ok = true;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 11:07 AM (8 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14798978
Default Alt Text
D20673.diff (499 B)

Event Timeline