From fa88a28e46b7ac2d3dcd1938e5e4708157d08b22 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 12 Apr 2021 13:37:59 +0200 Subject: Deduplicate code and make some small improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- get-contact-groups.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'get-contact-groups.c') diff --git a/get-contact-groups.c b/get-contact-groups.c index 35c898b..de71918 100644 --- a/get-contact-groups.c +++ b/get-contact-groups.c @@ -42,7 +42,8 @@ main(int argc, char *argv[]) for (; *argv; argv++) { if (libcontacts_load_contact(*argv, &contact, user)) { - weprintf("libcontacts_load_contact %s: %s\n", *argv, errno ? strerror(errno) : "contact file is malformatted"); + weprintf("libcontacts_load_contact %s: %s\n", *argv, + errno ? strerror(errno) : "contact file is malformatted"); ret = 1; } if (lookup_unassigned) { -- cgit v1.2.3-70-g09d2