VirtualBox

Changeset 24605 in vbox


Ignore:
Timestamp:
Nov 12, 2009 12:38:08 PM (15 years ago)
Author:
vboxsync
Message:

VBoxClient: Fixed wrong pointer check and return value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/hostversion.cpp

    r24073 r24605  
    6161                                               "org.freedesktop.Notifications",
    6262                                               "Notify");
    63             if (conn == NULL)
     63            if (msg == NULL)
    6464            {
    6565                Log(("Could not create D-BUS message!\n"));
    6666                rc = VERR_INVALID_HANDLE;
    6767            }
     68            else
     69                rc = VINF_SUCCESS;
    6870        }
    6971        if (RT_SUCCESS(rc))
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