diff options
author | Harald Schmitt <linux@hschmitt.de> | 2012-07-18 16:53:08 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-07-27 18:04:52 +0300 |
commit | 56cec0f87a3887148dce8e4b4a7de40772b8c80c (patch) | |
tree | 19faf6994dc78508f32b5c421e759c05ba4f8ceb /plugins/irmc.c | |
parent | 6a000e6a95e3eaeb868d57ec9d17a368b87f49a1 (diff) | |
download | obexd-56cec0f87a3887148dce8e4b4a7de40772b8c80c.tar.gz |
phonebook: Replace magic strings for phonebook names and folders
Diffstat (limited to 'plugins/irmc.c')
-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 2283fe6..2574b22 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(PB_CONTACTS, 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(PB_CONTACTS, irmc->params, query_result, irmc, &ret); if (ret < 0) { DBG("phonebook_pull failed..."); |