diff options
Diffstat (limited to 'bus')
-rw-r--r-- | bus/driver.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bus/driver.c b/bus/driver.c index ba31f3e7..31b848e9 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -457,7 +457,10 @@ bus_driver_handle_acquire_service (DBusConnection *connection, return FALSE; _dbus_verbose ("Trying to own service %s with flags 0x%x\n", name, flags); - + + retval = FALSE; + reply = NULL; + if (*name == ':') { /* Not allowed; only base services can start with ':' */ @@ -467,9 +470,6 @@ bus_driver_handle_acquire_service (DBusConnection *connection, goto out; } - - retval = FALSE; - reply = NULL; _dbus_string_init_const (&service_name, name); |