aboutsummaryrefslogtreecommitdiffstats
path: root/find-contact-by-address.c
diff options
context:
space:
mode:
Diffstat (limited to 'find-contact-by-address.c')
-rw-r--r--find-contact-by-address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-contact-by-address.c b/find-contact-by-address.c
index b556e0f..514eb25 100644
--- a/find-contact-by-address.c
+++ b/find-contact-by-address.c
@@ -66,7 +66,7 @@ main(int argc, char *argv[])
if (!user)
eprintf("getpwuid: %s\n", errno ? strerror(errno) : "user does not exist");
- if (libcontacts_load_contacts(&contacts, user))
+ if (libcontacts_load_contacts(&contacts, user, 1))
eprintf("libcontacts_load_contacts:");
for (i = 0; contacts[i]; i++) {
if ((addresses = contacts[i]->addresses)) {