VirtualBox

Changeset 22253 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 14, 2009 9:39:26 AM (15 years ago)
Author:
vboxsync
Message:

Fixed saving of missing serial port attributes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r22226 r22253  
    19511951            default: /*case PortMode_Disconnected:*/ pcszHostMode = "Disconnected"; break;
    19521952        }
     1953        switch (port.portMode)
     1954        {
     1955            case PortMode_HostPipe:
     1956                pelmPort->setAttribute("server", port.fServer);
     1957                /* no break */
     1958            case PortMode_HostDevice:
     1959            case PortMode_RawFile:
     1960                pelmPort->setAttribute("path", port.strPath);
     1961                break;
     1962
     1963            default:
     1964                break;
     1965        }
    19531966        pelmPort->setAttribute("hostMode", pcszHostMode);
    19541967    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette