aboutsummaryrefslogtreecommitdiffstats
path: root/attrib
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2011-07-12 17:28:33 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-07-27 10:29:58 +0300
commitcdeb4dab7d4a9dc5723352d50784cb5e9e65e399 (patch)
tree11f17f926bfe6fafb3e3bf6d6e35dd44776c0bbc /attrib
parentc34ccee6b826a49f753cb6c7a336ce67f3345286 (diff)
downloadbluez-cdeb4dab7d4a9dc5723352d50784cb5e9e65e399.tar.gz
bluez-cdeb4dab7d4a9dc5723352d50784cb5e9e65e399.tar.xz
bluez-cdeb4dab7d4a9dc5723352d50784cb5e9e65e399.zip
Remove leftover D-Bus message in gatt_service
Diffstat (limited to 'attrib')
-rw-r--r--attrib/client.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/attrib/client.c b/attrib/client.c
index f7c78d34..93d0da77 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -58,7 +58,6 @@ struct gatt_service {
DBusConnection *conn;
GSList *primary;
GAttrib *attrib;
- DBusMessage *msg;
int psm;
gboolean listen;
};
@@ -343,12 +342,6 @@ static void connect_cb(GIOChannel *chan, GError *gerr, gpointer user_data)
struct gatt_service *gatt = user_data;
if (gerr) {
- if (gatt->msg) {
- DBusMessage *reply = btd_error_failed(gatt->msg,
- gerr->message);
- g_dbus_send_message(gatt->conn, reply);
- }
-
error("%s", gerr->message);
goto fail;
}