LibVNCClient: init pad field for set encodings msg

pull/3/head
Tobias Junghans 4 years ago
parent 192823dad9
commit 343eaabd7c
  1. 1
      libvncclient/rfbproto.c

@ -1253,6 +1253,7 @@ SetFormatAndEncodings(rfbClient* client)
if (!SupportsClient2Server(client, rfbSetEncodings)) return TRUE;
se->type = rfbSetEncodings;
se->pad = 0;
se->nEncodings = 0;
if (client->appData.encodingsString) {

Loading…
Cancel
Save