channels: cliprdr: reformat cliprdr_common.c
@@ -84,12 +84,14 @@ UINT cliprdr_write_lock_clipdata(wStream* s, const CLIPRDR_LOCK_CLIPBOARD_DATA*
return cliprdr_write_lock_unlock_clipdata(s, lockClipboardData->clipDataId);
}
-UINT cliprdr_write_unlock_clipdata(wStream* s, const CLIPRDR_UNLOCK_CLIPBOARD_DATA* unlockClipboardData)
+UINT cliprdr_write_unlock_clipdata(wStream* s,
+ const CLIPRDR_UNLOCK_CLIPBOARD_DATA* unlockClipboardData)
{
return cliprdr_write_lock_unlock_clipdata(s, unlockClipboardData->clipDataId);
}
-UINT cliprdr_write_file_contents_response(wStream* s, const CLIPRDR_FILE_CONTENTS_RESPONSE* response)
+UINT cliprdr_write_file_contents_response(wStream* s,
+ const CLIPRDR_FILE_CONTENTS_RESPONSE* response)
{
Stream_Write_UINT32(s, response->streamId); /* streamId (4 bytes) */
Stream_Write(s, response->requestedData, response->cbRequested);
@@ -330,8 +332,8 @@ UINT cliprdr_read_format_list(wStream* s, CLIPRDR_FORMAT_LIST* formatList, BOOL
if (formatNameLength)
{
- if (ConvertFromUnicode(CP_UTF8, 0, wszFormatName, -1,
- &(formats[index].formatName), 0, NULL, NULL) < 1)
+ if (ConvertFromUnicode(CP_UTF8, 0, wszFormatName, -1, &(formats[index].formatName),
+ 0, NULL, NULL) < 1)
{
WLog_ERR(TAG, "failed to convert long clipboard format name");
error = ERROR_INTERNAL_ERROR;
