Commit 1044d59f authored by deymo@chromium.org's avatar deymo@chromium.org

Bluetooth: Fix error_message parsing on a dbus connect error response.

Fix the same incorrect use of "Message::PopString" for Connect previously
fixed for CreateDevice and CreatePairedDevice. grep doesn't show any other missing
usage to fix. See previous crrev.com/11669016 .

BUG=None


Review URL: https://chromiumcodereview.appspot.com/11734014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176131 0039d316-1c4b-4281-b951-d872f2087c98
parent eccc2d43
...@@ -218,7 +218,7 @@ class BluetoothInputClientImpl: public BluetoothInputClient, ...@@ -218,7 +218,7 @@ class BluetoothInputClientImpl: public BluetoothInputClient,
if (response) { if (response) {
dbus::MessageReader reader(response); dbus::MessageReader reader(response);
error_name = response->GetErrorName(); error_name = response->GetErrorName();
error_message = reader.PopString(&error_message); reader.PopString(&error_message);
} else { } else {
error_name = kNoResponseError; error_name = kNoResponseError;
error_message = ""; error_message = "";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment