From 21e71d1951192259502681df0f63e6de7254eca9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 5 Apr 2021 23:48:03 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- get-contact-emails.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'get-contact-emails.c') diff --git a/get-contact-emails.c b/get-contact-emails.c index 257326e..1e688f6 100644 --- a/get-contact-emails.c +++ b/get-contact-emails.c @@ -71,7 +71,7 @@ main(int argc, char *argv[]) } if (argc > 1) printf("%s: ", *argv); - if (display_ctx && display_addr) + if (!display_ctx == !display_addr) printf("%s: %s\n", email->context, email->address); else if (display_addr) printf("%s\n", email->address); -- cgit v1.2.3-70-g09d2