[vbox-dev] [PATCH] Typo in VirtualBoxImpl
Christian Pötzsch
christian.poetzsch at oracle.com
Mon Feb 21 09:23:44 GMT 2011
Hi,
thanks for the hint. Fixed in SVN.
Christian
On 02/20/11 23:21, Howard Su wrote:
> i believe this is a typo.
>
> Index: src/VBox/Main/src-server/VirtualBoxImpl.cpp
> ===================================================================
> --- src/VBox/Main/src-server/VirtualBoxImpl.cpp (revision 35998)
> +++ src/VBox/Main/src-server/VirtualBoxImpl.cpp (working copy)
> @@ -4532,7 +4532,7 @@
> ++it)
> {
> rc = (*it)->COMGETTER(NetworkName)(bstr.asOutParam());
> - if (FAILED(rc)) throw rc;
> + if (FAILED(rc)) return rc;
>
> if (bstr == aName)
> {
>
>
--
Dr. Christian Pötzsch http://www.oracle.com/
========================================================================
Sitz der Gesellschaft: ORACLE Deutschland B.V. & Co. KG,
Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
========================================================================
More information about the vbox-dev
mailing list