diff options
author | Jose Antonio Santos Cadenas <santoscadenas@gmail.com> | 2010-10-14 16:57:08 +0200 |
---|---|---|
committer | Jose Antonio Santos Cadenas <santoscadenas@gmail.com> | 2010-10-21 09:44:12 +0200 |
commit | 0d716b075176cd6df50992ba09bebadbeeaa155e (patch) | |
tree | 306cc11484f1b11857b2a35e448f1855ccade45d /health | |
parent | 549bc07502d5aa82da73cf4d5caf5bc02aee5c4f (diff) | |
download | bluez-0d716b075176cd6df50992ba09bebadbeeaa155e.tar.gz |
Emit a valid path when main channel is deleted
Diffstat (limited to 'health')
-rw-r--r-- | health/hdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/health/hdp.c b/health/hdp.c index a10d3032..b6ac34c6 100644 --- a/health/hdp.c +++ b/health/hdp.c @@ -683,7 +683,7 @@ static void health_channel_destroy(void *data) char *empty_path; dev->fr = NULL; - empty_path = ""; + empty_path = "/"; emit_property_changed(dev->conn, device_get_path(dev->dev), HEALTH_DEVICE, "MainChannel", DBUS_TYPE_OBJECT_PATH, &empty_path); |