notmuch dump: Fix to print spaces between tags.

Simple little bug here made all the tags run together.
This commit is contained in:
Carl Worth 2009-10-21 14:02:51 -07:00
parent 17b3c214ea
commit baf1867cc4

View file

@ -411,6 +411,7 @@ dump_command (int argc, char *argv[])
notmuch_results_has_more (results); notmuch_results_has_more (results);
notmuch_results_advance (results)) notmuch_results_advance (results))
{ {
int first = 1;
message = notmuch_results_get (results); message = notmuch_results_get (results);
fprintf (output, fprintf (output,
@ -420,8 +421,6 @@ dump_command (int argc, char *argv[])
notmuch_tags_has_more (tags); notmuch_tags_has_more (tags);
notmuch_tags_advance (tags)) notmuch_tags_advance (tags))
{ {
int first = 1;
if (! first) if (! first)
fprintf (output, " "); fprintf (output, " ");