Diff between bb160515185e6fdcfb57e327a4a3224f80eab2c9 and 3c2d4613be1fa468afd550fc7335ff28abccf223

Changed Files

File Additions Deletions Status
tools/obexctl.c +3 -0 modified

Full Patch

diff --git a/tools/obexctl.c b/tools/obexctl.c
index 05bbd3e..4e46c75 100644
--- a/tools/obexctl.c
+++ b/tools/obexctl.c
@@ -1885,6 +1885,9 @@ static void transfer_property_changed(GDBusProxy *proxy, const char *name,
 	struct transfer_data *data = user_data;
 	char *str;
 
+	if (iter == NULL)
+		return;
+
 	str = proxy_description(proxy, "Transfer", COLORED_CHG);
 
 	if (strcmp(name, "Transferred") == 0) {