aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-13 21:18:31 +0200
committerMattias Andrée <maandree@kth.se>2021-04-13 21:18:31 +0200
commit4a066cbd54a722b2184c7262304e0bd8d353dcc0 (patch)
treeaf0a37619b4e864598a3fc55b72462c7b5dc4c70
parentlist-birthdays: fix sorting with -n (diff)
downloadcontacts-4a066cbd54a722b2184c7262304e0bd8d353dcc0.tar.gz
contacts-4a066cbd54a722b2184c7262304e0bd8d353dcc0.tar.bz2
contacts-4a066cbd54a722b2184c7262304e0bd8d353dcc0.tar.xz
Fix: .nobody, not .groups
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--add-contact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-contact.c b/add-contact.c
index 382d1a0..9a72bac 100644
--- a/add-contact.c
+++ b/add-contact.c
@@ -29,7 +29,7 @@ main(int argc, char *argv[])
}
if (id[i - 1] == '~')
eprintf("contact-id cannot end with ~\n");
- if (id[0] == '.' && strcmp(id, ".me") && strcmp(id, ".groups"))
+ if (id[0] == '.' && strcmp(id, ".me") && strcmp(id, ".nobody"))
weprintf("it is recommended to only have [a-z0-9-] in contact-id\n");
}