aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-21 14:02:51 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-21 14:02:51 -0700
commitbaf1867cc46b67b7227d39542c551cd54609a80b (patch)
tree1ff0a61a0b5a88f2b6051002e5712aeb516f22b5 /notmuch.c
parent17b3c214ea123a0e03c5bfff8fc3826976f5ad64 (diff)
notmuch dump: Fix to print spaces between tags.
Simple little bug here made all the tags run together.
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c3
1 files changed, 1 insertions, 2 deletions
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, " ");