Diff between 4723f4e68e6668e5aa7c0f1811ced72e90a76c46 and 02c765d08abaaa24f705157c803a31a6fbbdd972
Changed Files
| File | Additions | Deletions | Status |
| obexd/plugins/phonebook-ebook.c | +7 | -0 | modified |
Full Patch
diff --git a/obexd/plugins/phonebook-ebook.c b/obexd/plugins/phonebook-ebook.c
index 067bcc7..9c55860 100644
--- a/obexd/plugins/phonebook-ebook.c
+++ b/obexd/plugins/phonebook-ebook.c
@@ -529,6 +529,13 @@ void *phonebook_pull(const char *name, const struct apparam_field *params,
{
struct query_context *data;
+ if (g_strcmp0("/telecom/pb.vcf", name) != 0) {
+ if (err)
+ *err = -ENOENT;
+
+ return NULL;
+ }
+
data = g_new0(struct query_context, 1);
data->contacts_cb = cb;
data->params = params;