]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Remove bogus call to dbus_set_error_from_message
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 17 Mar 2014 17:38:52 +0000 (17:38 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 21 Mar 2014 11:26:34 +0000 (11:26 +0000)
commit217ac43e03c5d0145948e6db887f9bd9005c83d7
tree398492778d399fe79e3a30ca1c5b85f5aad82196
parentdc7f3ffc023e3decf6aca3a2cfba2d884f0413a4
Remove bogus call to dbus_set_error_from_message

The dbus_connection_send_with_reply_and_block method will
automatically call dbus_set_error_from_message for us. We
mistakenly thought we had todo it because of a flaw in the
systemd unit test mock impl. The latter should have directly
set the error object, instead of creating an error message
object.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virdbus.c
tests/virsystemdmock.c