aboutsummaryrefslogtreecommitdiffstats
path: root/list-contacts.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 /list-contacts.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--list-contacts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/list-contacts.c b/list-contacts.c
index ebb948a..6c2e1d3 100644
--- a/list-contacts.c
+++ b/list-contacts.c
@@ -60,7 +60,7 @@ main(int argc, char *argv[])
eprintf("getpwuid: %s\n", errno ? strerror(errno) : "user does not exist");
if (!names && !emergency && !include_men && !include_women && !include_orgs && !include_unspec && !service) {
- if (libcontacts_list_contacts(&ids, user))
+ if (libcontacts_list_contacts(&ids, user, 0))
eprintf("libcontacts_list_contacts:");
for (i = 0; ids[i]; i++) {
printf("%s\n", ids[i]);
@@ -70,7 +70,7 @@ main(int argc, char *argv[])
} else {
if (!include_men && !include_women && !include_orgs && !include_unspec)
include_men = include_women = include_orgs = include_unspec = 1;
- if (libcontacts_load_contacts(&contacts, user))
+ if (libcontacts_load_contacts(&contacts, user, 0))
eprintf("libcontacts_load_contacts:");
for (i = 0; (contact = contacts[i]); i++) {
if (emergency && !contact->in_case_of_emergency)