Changeset 85220 in vbox
- Timestamp:
- Jul 11, 2020 3:42:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r85121 r85220 695 695 static RTEXITCODE gctrCmdCtxInit(PGCTLCMDCTX pCtx, HandlerArg *pArg) 696 696 { 697 RT_ZERO(*pCtx); 698 pCtx->pArg = pArg; 697 pCtx->pArg = pArg; 698 pCtx->pCmdDef = NULL; 699 pCtx->pszVmNameOrUuid = NULL; 700 pCtx->fPostOptionParsingInited = false; 701 pCtx->fLockedVmSession = false; 702 pCtx->fDetachGuestSession = false; 703 pCtx->fInstalledSignalHandler = false; 704 pCtx->cVerbose = 0; 705 pCtx->strUsername.setNull(); 706 pCtx->strPassword.setNull(); 707 pCtx->strDomain.setNull(); 708 pCtx->pGuest.setNull(); 709 pCtx->pGuestSession.setNull(); 710 pCtx->uSessionID = 0; 699 711 700 712 /* … … 704 716 int rc = RTProcQueryUsername(RTProcSelf(), szUser, sizeof(szUser), NULL); 705 717 if ( RT_SUCCESS(rc) 706 && RTStrIsValidEncoding(szUser)) /* paranoia required on posix*/718 && RTStrIsValidEncoding(szUser)) /* paranoia was required on posix at some point, not needed any more! */ 707 719 { 708 720 try
Note:
See TracChangeset
for help on using the changeset viewer.