Changeset 31027 in vbox
- Timestamp:
- Jul 23, 2010 12:13:31 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSharedFolders.cpp
r31026 r31027 35 35 VBGLR3SHAREDFOLDERMAPPING *paMappings = (PVBGLR3SHAREDFOLDERMAPPING)RTMemAlloc(cbMappings); 36 36 37 if (p Mappings)37 if (paMappings) 38 38 { 39 39 rc = VbglR3SharedFolderGetMappings(u32ClientId, true /* Only process auto-mounted folders */, 40 p Mappings, cbMappings,40 paMappings, cbMappings, 41 41 &cMappings); 42 42 if (RT_SUCCESS(rc)) … … 46 46 { 47 47 char *pszName = NULL; 48 rc = VbglR3SharedFolderGetName(u32ClientId, p Mappings[i].u32Root, &pszName);48 rc = VbglR3SharedFolderGetName(u32ClientId, paMappings[i].u32Root, &pszName); 49 49 if ( RT_SUCCESS(rc) 50 50 && *pszName) … … 85 85 else 86 86 Log(("VBoxTray: Error while getting the shared folder name for root node = %u, rc = %Rrc\n", 87 p Mappings[i].u32Root, rc));87 paMappings[i].u32Root, rc)); 88 88 } 89 89 } 90 90 else 91 91 Log(("VBoxTray: Error while getting the shared folder mappings, rc = %Rrc\n", rc)); 92 RTMemFree(p Mappings);92 RTMemFree(paMappings); 93 93 } 94 94 else
Note:
See TracChangeset
for help on using the changeset viewer.