X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-search.c;h=14b9f01c5ad1d731d802e2f7a18bb5f9ef8e6597;hp=5036d8e44005532f9f525eb6f87c18234dccb1a4;hb=0d8251dbe236975e69b07de2aeb9b60df44d6929;hpb=8e3ee13abc8f7e62557aaf862bbf6aa3e33f6d33 diff --git a/notmuch-search.c b/notmuch-search.c index 5036d8e4..14b9f01c 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -735,8 +735,8 @@ notmuch_address_command (notmuch_config_t *config, int argc, char *argv[]) if (opt_index < 0) return EXIT_FAILURE; - if (! ctx->output) - ctx->output = OUTPUT_SENDER | OUTPUT_RECIPIENTS; + if (! (ctx->output & (OUTPUT_SENDER | OUTPUT_RECIPIENTS))) + ctx->output |= OUTPUT_SENDER; if (_notmuch_search_prepare (ctx, config, argc - opt_index, argv + opt_index))