From: Carl Worth Date: Wed, 21 Oct 2009 21:02:51 +0000 (-0700) Subject: notmuch dump: Fix to print spaces between tags. X-Git-Tag: 0.1~794 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=baf1867cc46b67b7227d39542c551cd54609a80b;p=notmuch.git notmuch dump: Fix to print spaces between tags. Simple little bug here made all the tags run together. --- diff --git a/notmuch.c b/notmuch.c index e157f02f..d7642521 100644 --- a/notmuch.c +++ b/notmuch.c @@ -411,6 +411,7 @@ dump_command (int argc, char *argv[]) notmuch_results_has_more (results); notmuch_results_advance (results)) { + int first = 1; message = notmuch_results_get (results); fprintf (output, @@ -420,8 +421,6 @@ dump_command (int argc, char *argv[]) notmuch_tags_has_more (tags); notmuch_tags_advance (tags)) { - int first = 1; - if (! first) fprintf (output, " ");