From 1a21982ebc2747a694558c6e82cea54bd5dbead9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 12 Apr 2021 00:07:26 +0200 Subject: Deduplicate code and make some minor improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- set-contact-gender.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'set-contact-gender.c') diff --git a/set-contact-gender.c b/set-contact-gender.c index b0b0258..70b9150 100644 --- a/set-contact-gender.c +++ b/set-contact-gender.c @@ -55,7 +55,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; continue; } -- cgit v1.2.3-70-g09d2