Changeset 28185 in vbox
- Timestamp:
- Apr 12, 2010 9:05:04 AM (15 years ago)
- Location:
- trunk/src/VBox/HostServices/GuestControl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestControl/gctrl.cpp
r27976 r28185 111 111 * 112 112 */ 113 int gctrlAddToExecEnvv(c har *pszEnv, void **ppvList, uint32_t *pcbList, uint32_t *pcEnv)113 int gctrlAddToExecEnvv(const char *pszEnv, void **ppvList, uint32_t *pcbList, uint32_t *pcEnv) 114 114 { 115 115 int rc = VINF_SUCCESS; -
trunk/src/VBox/HostServices/GuestControl/gctrl.h
r27976 r28185 30 30 int gctrlPrepareExecArgv(char *pszArgs, void **ppvList, uint32_t *pcbList, uint32_t *pcArgs); 31 31 /** @todo write docs! */ 32 int gctrlAddToExecEnvv(c har *pszEnv, void **ppvList, uint32_t *pcbList, uint32_t *pcEnv);32 int gctrlAddToExecEnvv(const char *pszEnv, void **ppvList, uint32_t *pcbList, uint32_t *pcEnv); 33 33 /** @todo write docs! */ 34 34 #if 0 -
trunk/src/VBox/HostServices/GuestControl/testcase/tstGuestControlSvc.cpp
r27976 r28185 699 699 /* argv */ 700 700 char *pcData; 701 uint32_t cbLen;702 701 paParms[4].getBuffer((void**)&pcData, &cbLen); 703 702 AssertPtr(pcData); … … 716 715 717 716 /* envv */ 718 char *pcData;719 uint32_t cbLen;720 717 paParms[6].getBuffer((void**)&pcData, &cbLen); 721 718 AssertPtr(pcData); 722 719 723 char **ppaEnv ;720 char **ppaEnv = NULL; 724 721 if (uEnvc) 725 722 { … … 824 821 pTable->pfnCall(pTable->pvService, &callHandle, 0, NULL, command, 825 822 3, paParms); 826 int rc ;823 int rc = VINF_SUCCESS; 827 824 if (RT_FAILURE(callHandle.rc)) 828 825 {
Note:
See TracChangeset
for help on using the changeset viewer.