summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-08-04 21:51:10 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-08-04 21:51:10 +0200
commit2709ae4c8e684f4cbee1c0c99c42fb4afdc8d455 (patch)
tree3e745aa6b9f460f25ba01f2fab024b38a2340a90 /input/device.c
parent7a6368d26192e81529bc0d39c9c343a822ff175f (diff)
Move error helpers to bluetoothd source
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/input/device.c b/input/device.c
index 984c35bd..ccaf0374 100644
--- a/input/device.c
+++ b/input/device.c
@@ -603,8 +603,7 @@ static void control_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src,
failed:
iconn->ctrl_sk = -1;
- error_connection_attempt_failed(idev->conn,
- iconn->pending_connect, -err);
+ connection_attempt_failed(iconn->pending_connect, -err);
dbus_message_unref(iconn->pending_connect);
iconn->pending_connect = NULL;
}