notmuch dump: Eliminate extra space in error message.
authorCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 16:20:13 +0000 (09:20 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 16:20:13 +0000 (09:20 -0700)
Little details can make big impressions.

notmuch.c

index f16192fb6b5f2a1fea206fde94b202e7eb409aca..46c3c63b525f626e18802772a8f0d27dd30f98f9 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -818,7 +818,8 @@ restore_command (int argc, char *argv[])
                                 notmuch_status_to_string (status));
                    }
                } else {
-                   fprintf (stderr, "%s ", tag);
+                   fprintf (stderr, "%s%s",
+                            tag == tags ? "" : " ", tag);
                }
            }