aboutsummaryrefslogtreecommitdiffstats
path: root/find-contact-by-name.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-08 18:11:08 +0200
committerMattias Andrée <maandree@kth.se>2021-04-08 18:11:08 +0200
commit80d641dc9714f18eafd3ca4614e3e55464a313eb (patch)
tree450c9423190e9ed7eb63705342efc123dbf18431 /find-contact-by-name.c
parentAdd README (diff)
downloadcontacts-80d641dc9714f18eafd3ca4614e3e55464a313eb.tar.gz
contacts-80d641dc9714f18eafd3ca4614e3e55464a313eb.tar.bz2
contacts-80d641dc9714f18eafd3ca4614e3e55464a313eb.tar.xz
Include .me in find-* utils but exclude .me in list-* utils
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--find-contact-by-name.c2
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]];