2006-10-25 Dan Williams <dcbw@redhat.com>

* src/nm-dbus-nm.c
		- (nm_dbus_nm_set_active_device): return an empty success message on
			success, rather than falling through to the error case.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2088 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2006-10-25 12:15:07 +00:00
parent f05b1fc87f
commit 6595c2b058
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2006-10-25 Dan Williams <dcbw@redhat.com>
* src/nm-dbus-nm.c
- (nm_dbus_nm_set_active_device): return an empty success message on
success, rather than falling through to the error case.
2006-10-25 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerUtils.c

View file

@ -350,6 +350,11 @@ nm_dbus_nm_set_active_device (DBusConnection *connection,
nm_schedule_state_change_signal_broadcast (data);
nm_policy_schedule_device_activation (nm_act_request_new (data, dev, ap, TRUE));
/* empty success message */
reply = dbus_message_new_method_return (message);
if (!reply)
nm_warning ("Could not allocate dbus message.");
out:
if (dev)
g_object_unref (G_OBJECT (dev));