cliprdr: fix message of error code log

This commit is contained in:
David Fort 2024-08-13 15:08:30 +02:00
parent 4523c4ec78
commit 6e2cc358ba

View File

@ -75,12 +75,7 @@ const char* CB_MSG_FLAGS_STRING(UINT16 msgFlags, char* buffer, size_t size)
winpr_str_append("CB_ASCII_NAMES", buffer, size, "|");
const size_t len = strnlen(buffer, size);
if (len > 0)
{
/* remove trailing | */
buffer[len - 1] = '\0';
}
else
if (!len)
winpr_str_append("NONE", buffer, size, "");
char val[32] = { 0 };