X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-dump.c;h=5cc3b2f62b46530e5dbb3f63b5d127043fc9c610;hp=0cbcdc16695c3686ff6d1058da913be336a8ad63;hb=1fdc08d0ffab;hpb=e1c1d33f3726f5cadb2f92d23735dcd1102fbc88 diff --git a/notmuch-dump.c b/notmuch-dump.c index 0cbcdc16..5cc3b2f6 100644 --- a/notmuch-dump.c +++ b/notmuch-dump.c @@ -84,7 +84,7 @@ print_dump_header (gzFile output, int output_format, int include) sep = ","; } if (include & DUMP_INCLUDE_TAGS) { - gzprintf (output, "%sproperties", sep); + gzprintf (output, "%stags", sep); } gzputs (output, "\n"); } @@ -250,7 +250,8 @@ database_dump_file (notmuch_database_t *notmuch, gzFile output, message = notmuch_messages_get (messages); - if (dump_tags_message (notmuch, message, output_format, output, + if ((include & DUMP_INCLUDE_TAGS) && + dump_tags_message (notmuch, message, output_format, output, &buffer, &buffer_size)) return EXIT_FAILURE;