diff options
Diffstat (limited to '')
-rw-r--r-- | find-contact-by-name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/find-contact-by-name.c b/find-contact-by-name.c index 4b4b8c1..6d2447b 100644 --- a/find-contact-by-name.c +++ b/find-contact-by-name.c @@ -52,7 +52,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++) { name = *(char **)&offset[(char *)contacts[i]]; |