channels/cliprdr: Fix writing incorrect PDU type for unlock PDUs

This commit is contained in:
Pascal Nowack 2023-07-19 17:07:34 +02:00 committed by akallabeth
parent 6784527e49
commit c20a322935

View File

@ -138,7 +138,7 @@ cliprdr_packet_unlock_clipdata_new(const CLIPRDR_UNLOCK_CLIPBOARD_DATA* unlockCl
if (!unlockClipboardData)
return NULL;
s = cliprdr_packet_new(CB_LOCK_CLIPDATA, 0, 4);
s = cliprdr_packet_new(CB_UNLOCK_CLIPDATA, 0, 4);
if (!s)
return NULL;