Changeset 25030 in vbox
- Timestamp:
- Nov 26, 2009 7:41:42 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/ConsoleVRDPServer.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleVRDPServer.cpp
r23643 r25030 707 707 { 708 708 com::Bstr bstr; 709 HRESULT hrc = server->mConsole->machine ()->GetExtraData(Bstr("VBoxInternal2/VRDPPortRange"), bstr.asOutParam()); 710 if (hrc != S_OK || bstr == "") 711 { 712 hrc = server->mConsole->getVRDPServer ()->COMGETTER(Ports) (bstr.asOutParam()); 713 } 709 HRESULT hrc = server->mConsole->getVRDPServer ()->COMGETTER(Ports) (bstr.asOutParam()); 710 714 711 if (hrc != S_OK) 715 712 { … … 770 767 771 768 server->mVRDPBindPort = port; 772 773 com::Bstr bstr = Utf8StrFmt("%d", port);774 775 server->mConsole->machine ()->SetExtraData(Bstr("VBoxInternal2/VRDPBindPort"), bstr);776 769 777 770 rc = VINF_SUCCESS; … … 1143 1136 console->RegisterCallback(mConsoleCallback); 1144 1137 1145 mConsole->machine ()->SetExtraData(Bstr("VBoxInternal2/VRDPPortRange"), Bstr(""));1146 1138 mVRDPBindPort = -1; 1147 1139 #endif /* VBOX_WITH_VRDP */
Note:
See TracChangeset
for help on using the changeset viewer.

