Thread (2 messages) 2 messages, 2 authors, 2010-11-29
STALE5720d

[PATCH] Fix problem with fetching 0.vcf vCard entry

From: Rafal Michalski <hidden>
Date: 2010-11-29 13:51:56
Subsystem: the rest · Maintainer: Linus Torvalds

Previously after attempting to get single 0.vcf vCard entry from phonebook
("telecom/pb/0.vcf") "Not Found" status was received and this entry wasn't
downloaded. Now "OK" status is received and valid 0.vcf vCard entry is
downloaded.
---
 plugins/phonebook-tracker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index 20053f6..a6b9e72 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -943,7 +943,7 @@
 	"nco:phoneNumber(?t) \"NOTACALL\" \"false\" \"false\" <%s> "	\
 	"WHERE { "							\
 		"<%s> a nco:Contact . "					\
-		"<%s> nco:hasPhoneNumber ?t . "				\
+		"OPTIONAL { <%s> nco:hasPhoneNumber ?t . } "		\
 	"} "
 
 #define CONTACTS_COUNT_QUERY						\
-- 
1.6.3.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help