[vbox-dev] [PATCH] Typo in VirtualBoxImpl

Howard Su howard0su at gmail.com
Sun Feb 20 22:21:43 GMT 2011


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)
         {


-- 
-Howard




More information about the vbox-dev mailing list