aboutsummaryrefslogtreecommitdiffstats
path: root/get-contact-organisations.c
diff options
context:
space:
mode:
Diffstat (limited to 'get-contact-organisations.c')
-rw-r--r--get-contact-organisations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get-contact-organisations.c b/get-contact-organisations.c
index 70feea5..ae236db 100644
--- a/get-contact-organisations.c
+++ b/get-contact-organisations.c
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
}
if (argc > 1)
printf("%s: ", *argv);
- if (display_org && display_title)
+ if (!display_org == !display_title)
printf("%s: %s\n", org->organisation, org->title);
else if (display_title)
printf("%s\n", org->title);