Diff between 8a2c72627bd7fa84436c35b2ed3bd94e647ebb1e and be4faac084e2676ea227037455a42c0d0b2423e2

Changed Files

File Additions Deletions Status
obexd/plugins/phonebook-tracker.c +1 -1 modified

Full Patch

diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c
index 1022d3a..80dfc02 100644
--- a/obexd/plugins/phonebook-tracker.c
+++ b/obexd/plugins/phonebook-tracker.c
@@ -161,6 +161,7 @@
 	"?_call a nmo:Call . "						\
 	"?_unb_contact a nco:Contact . "				\
 	"?_unb_contact nco:hasPhoneNumber ?_cpn . "			\
+CONSTRAINT								\
 	"OPTIONAL { "							\
 		"{ SELECT ?_contact ?_cpn ?_role ?_number "		\
 			"count(?_contact) as ?cnt "			\
@@ -177,7 +178,6 @@
 		"} GROUP BY ?_cpn } "					\
 		"FILTER(?cnt = 1) "					\
 	"} "								\
-CONSTRAINT								\
 "} "
 
 #define CALLS_LIST(CONSTRAINT)						\