Changeset 87058 in vbox for trunk/src/VBox/GuestHost/SharedClipboard
- Timestamp:
- Dec 9, 2020 9:42:13 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 141823
- Location:
- trunk/src/VBox/GuestHost/SharedClipboard
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp
r86959 r87058 59 59 # include <iprt/cpp/list.h> 60 60 # include <iprt/cpp/ministring.h> 61 # include <VBox/GuestHost/SharedClipboard-transfers.h> 61 62 #endif 62 63 … … 1427 1428 } 1428 1429 else 1429 rc = ShClX11RequestDataForX11Callback(pCtx->pFrontend, Format, 1430 &pv, &cb); 1430 { 1431 rc = ShClX11RequestDataForX11Callback(pCtx->pFrontend, Format, &pv, &cb); 1432 } 1431 1433 1432 1434 if (RT_SUCCESS(rc)) … … 2050 2052 if (RT_SUCCESS(RTStrValidateEncodingEx((char *)pvSrc, cbSrc, 0))) 2051 2053 { 2052 /* URI lists on X are string separated with "\r\n". */2054 /* URI lists on X are strings separated with "\r\n". */ 2053 2055 RTCList<RTCString> lstRootEntries = RTCString((char *)pvSrc, cbSrc).split("\r\n"); 2054 2056 for (size_t i = 0; i < lstRootEntries.size(); ++i) … … 2057 2059 AssertPtrBreakStmt(pszEntry, VERR_INVALID_PARAMETER); 2058 2060 2059 LogFlowFunc(("URI list entry '%s'\n", pszEntry)); 2061 rc = RTStrAAppend((char **)&pvDst, "http://localhost"); 2062 AssertRCBreakStmt(rc, VERR_NO_MEMORY); 2063 cbDst += (uint32_t)strlen(pszEntry); 2064 2065 2066 2067 /** @todo BUGBUG Fix port! */ 2068 /** @todo Add port + UUID (virtual path). */ 2060 2069 2061 2070 rc = RTStrAAppend((char **)&pvDst, pszEntry); 2062 2071 AssertRCBreakStmt(rc, VERR_NO_MEMORY); 2063 2072 cbDst += (uint32_t)strlen(pszEntry); 2073 2074 LogFlowFunc(("URI list entry '%s'\n", (char *)pvDst)); 2064 2075 2065 2076 rc = RTStrAAppend((char **)&pvDst, "\r\n");
Note:
See TracChangeset
for help on using the changeset viewer.