Changeset 86959 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Nov 23, 2020 11:25:53 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r86912 r86959 1213 1213 fFormats &= ~fFormat; 1214 1214 1215 #ifdef LOG_ENABLED 1216 char *pszFmt = ShClFormatsToStrA(fFormat); 1217 AssertPtrReturn(pszFmt, VERR_NO_MEMORY); 1218 LogRel2(("Shared Clipboard: Requesting guest clipboard data in format '%s'\n", pszFmt)); 1219 RTStrFree(pszFmt); 1220 #endif 1215 1221 /* 1216 1222 * Allocate messages, one for each format. … … 1389 1395 if (!(g_fTransferMode & VBOX_SHCL_TRANSFER_MODE_ENABLED)) 1390 1396 { 1391 LogFlowFunc(("fFormats=%#x -> %#x\n", fFormats, fFormats & ~VBOX_SHCL_FMT_URI_LIST));1392 1397 fFormats &= ~VBOX_SHCL_FMT_URI_LIST; 1393 1398 } 1399 else 1400 LogRel2(("Shared Clipboard: Warning: File transfers are disabled, ignoring\n")); 1394 1401 #endif 1395 LogRel2(("Shared Clipboard: Reporting formats %#x to guest\n", fFormats)); 1402 1403 #ifdef LOG_ENABLED 1404 char *pszFmts = ShClFormatsToStrA(fFormats); 1405 AssertPtrReturn(pszFmts, VERR_NO_MEMORY); 1406 LogRel2(("Shared Clipboard: Reporting formats '%s' to guest\n", pszFmts)); 1407 RTStrFree(pszFmts); 1408 #endif 1396 1409 1397 1410 /* … … 1508 1521 else 1509 1522 { 1523 #ifdef LOG_ENABLED 1524 char *pszFmts = ShClFormatsToStrA(fFormats); 1525 AssertPtrReturn(pszFmts, VERR_NO_MEMORY); 1526 LogRel2(("Shared Clipboard: Guest reported formats '%s' to host\n", pszFmts)); 1527 RTStrFree(pszFmts); 1528 #endif 1510 1529 rc = ShClBackendFormatAnnounce(pClient, fFormats); 1511 1530 if (RT_FAILURE(rc)) … … 1606 1625 } 1607 1626 1608 LogRel2(("Shared Clipboard: Guest wants to read %RU32 bytes host clipboard data in format %RU32\n", cbData, uFormat)); 1627 #ifdef LOG_ENABLED 1628 char *pszFmt = ShClFormatsToStrA(uFormat); 1629 AssertPtrReturn(pszFmt, VERR_NO_MEMORY); 1630 LogRel2(("Shared Clipboard: Guest wants to read %RU32 bytes host clipboard data in format '%s'\n", cbData, pszFmt)); 1631 RTStrFree(pszFmt); 1632 #endif 1609 1633 1610 1634 /* … … 1796 1820 } 1797 1821 1798 LogRel2(("Shared Clipboard: Guest writes %RU32 bytes clipboard data in format %RU32 to host\n", cbData, uFormat)); 1822 #ifdef LOG_ENABLED 1823 char *pszFmt = ShClFormatsToStrA(uFormat); 1824 AssertPtrReturn(pszFmt, VERR_NO_MEMORY); 1825 LogRel2(("Shared Clipboard: Guest writes %RU32 bytes clipboard data in format '%s' to host\n", cbData, pszFmt)); 1826 RTStrFree(pszFmt); 1827 #endif 1799 1828 1800 1829 /*
Note:
See TracChangeset
for help on using the changeset viewer.