aboutsummaryrefslogtreecommitdiff
path: root/health
diff options
context:
space:
mode:
authorJose Antonio Santos Cadenas <santoscadenas@gmail.com>2010-10-14 16:57:08 +0200
committerJose Antonio Santos Cadenas <santoscadenas@gmail.com>2010-10-21 09:44:12 +0200
commit0d716b075176cd6df50992ba09bebadbeeaa155e (patch)
tree306cc11484f1b11857b2a35e448f1855ccade45d /health
parent549bc07502d5aa82da73cf4d5caf5bc02aee5c4f (diff)
downloadbluez-0d716b075176cd6df50992ba09bebadbeeaa155e.tar.gz
Emit a valid path when main channel is deleted
Diffstat (limited to 'health')
-rw-r--r--health/hdp.c2
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);