Diff between e8ae7a4f2d912cc45f54ea90ebbc95f3e7cdcdf0 and 4f7162071f885714f8a3aaedc50333576e2dd8f5

Changed Files

File Additions Deletions Status
doc/gatt-api.txt +1 -1 modified
src/gatt-database.c +1 -1 modified

Full Patch

diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt
index f58de23..60a997c 100644
--- a/doc/gatt-api.txt
+++ b/doc/gatt-api.txt
@@ -45,7 +45,7 @@ Properties	string UUID [read-only]
 			belongs to. Only present on services from remote
 			devices.
 
-		array{object} Includes [read-only]
+		array{object} Includes [read-only, optional]
 
 			Array of object paths representing the included
 			services of this service.
diff --git a/src/gatt-database.c b/src/gatt-database.c
index ce0e03f..24bcef5 100644
--- a/src/gatt-database.c
+++ b/src/gatt-database.c
@@ -1633,7 +1633,7 @@ static bool parse_includes(GDBusProxy *proxy, struct external_service *service)
 	char *obj;
 
 	if (!g_dbus_proxy_get_property(proxy, "Includes", &iter))
-		return false;
+		return true;
 
 	if (dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_ARRAY)
 		return false;