aboutsummaryrefslogtreecommitdiffstats
path: root/get-contact-sites.c
diff options
context:
space:
mode:
Diffstat (limited to 'get-contact-sites.c')
-rw-r--r--get-contact-sites.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get-contact-sites.c b/get-contact-sites.c
index dcc1d17..a46eadc 100644
--- a/get-contact-sites.c
+++ b/get-contact-sites.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", site->context, site->address);
else if (display_addr)
printf("%s\n", site->address);