Changeset 71327 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 14, 2018 2:29:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r71314 r71327 556 556 switch (vrc) 557 557 { 558 case VERR_NOT_SUPPORTED: 559 hr = setError(VBOX_E_IPRT_ERROR, tr("Getting the user's home path is not supported by installed Guest Additions")); 558 case VERR_GSTCTL_GUEST_ERROR: 559 { 560 switch (rcGuest) 561 { 562 case VERR_NOT_SUPPORTED: 563 hr = setError(VBOX_E_IPRT_ERROR, tr("Getting the user's home path is not supported by installed Guest Additions")); 564 break; 565 566 break; 567 hr = setError(VBOX_E_IPRT_ERROR, tr("Getting the user's home path failed on the guest: %Rrc"), rcGuest); 568 break; 569 } 560 570 break; 561 562 case VERR_GSTCTL_GUEST_ERROR: 563 hr = setError(VBOX_E_IPRT_ERROR, tr("Getting the user's home path failed: %Rrc"), rcGuest); 564 break; 571 } 565 572 566 573 default: … … 585 592 switch (vrc) 586 593 { 587 case VERR_NOT_SUPPORTED: 588 hr = setError(VBOX_E_IPRT_ERROR, tr("Getting the user's documents path is not supported by installed Guest Additions")); 594 case VERR_GSTCTL_GUEST_ERROR: 595 { 596 switch (rcGuest) 597 { 598 case VERR_NOT_SUPPORTED: 599 hr = setError(VBOX_E_IPRT_ERROR, tr("Getting the user's documents path is not supported by installed Guest Additions")); 600 break; 601 602 break; 603 hr = setError(VBOX_E_IPRT_ERROR, tr("Getting the user's documents path failed on the guest: %Rrc"), rcGuest); 604 break; 605 } 589 606 break; 590 591 case VERR_GSTCTL_GUEST_ERROR: 592 hr = setError(VBOX_E_IPRT_ERROR, tr("Getting the user's documents path failed: %Rrc"), rcGuest); 593 break; 607 } 594 608 595 609 default:
Note:
See TracChangeset
for help on using the changeset viewer.