aboutsummaryrefslogtreecommitdiffstats
path: root/find-contact-by-photo.c
diff options
context:
space:
mode:
Diffstat (limited to 'find-contact-by-photo.c')
-rw-r--r--find-contact-by-photo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-contact-by-photo.c b/find-contact-by-photo.c
index 46c14ed..4e2097e 100644
--- a/find-contact-by-photo.c
+++ b/find-contact-by-photo.c
@@ -29,7 +29,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 ((photos = contacts[i]->photos)) {