diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-13 21:18:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-13 21:18:31 +0200 |
commit | 4a066cbd54a722b2184c7262304e0bd8d353dcc0 (patch) | |
tree | af0a37619b4e864598a3fc55b72462c7b5dc4c70 /add-contact.c | |
parent | list-birthdays: fix sorting with -n (diff) | |
download | contacts-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 'add-contact.c')
-rw-r--r-- | add-contact.c | 2 |
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"); } |