diff options
author | Harald Schmitt <linux@hschmitt.de> | 2012-07-18 16:53:07 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-07-27 18:04:52 +0300 |
commit | 6a000e6a95e3eaeb868d57ec9d17a368b87f49a1 (patch) | |
tree | a4ec5de5dd6f11b513d9e55de745da320b3baf32 | |
parent | 4225280022c206762c91beee47c62d05e1baeacc (diff) | |
download | obexd-6a000e6a95e3eaeb868d57ec9d17a368b87f49a1.tar.gz |
irmc: Fix phonebook contacts query
At the moment IRMC fails to connect for phonebook_ebook and
phonebook_tracker usage because the name parameter for phonebook_pull
is not an absolute path.
-rw-r--r-- | plugins/irmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/irmc.c b/plugins/irmc.c index 87f3b6c..2283fe6 100644 --- a/plugins/irmc.c +++ b/plugins/irmc.c @@ -226,7 +226,7 @@ static void *irmc_connect(struct obex_session *os, int *err) param->maxlistcount = 0; /* to count the number of vcards... */ param->filter = 0x200085; /* UID TEL N VERSION */ irmc->params = param; - irmc->request = phonebook_pull("telecom/pb.vcf", irmc->params, + irmc->request = phonebook_pull("/telecom/pb.vcf", irmc->params, phonebook_size_result, irmc, err); ret = phonebook_pull_read(irmc->request); if (err) @@ -312,7 +312,7 @@ static void *irmc_open_pb(const char *name, struct irmc_session *irmc, if (!g_strcmp0(name, ".vcf")) { /* how can we tell if the vcard count call already finished? */ - irmc->request = phonebook_pull("telecom/pb.vcf", irmc->params, + irmc->request = phonebook_pull("/telecom/pb.vcf", irmc->params, query_result, irmc, &ret); if (ret < 0) { DBG("phonebook_pull failed..."); |