]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.c
Fix timestamp generation to avoid overflowing the term limit
[notmuch] / notmuch.c
index 0a05e1afd864768b77a79c0535e48d48fcd70850..8981ff3955f1f66413a6f06996a2d76a1201cf6b 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -557,7 +557,7 @@ new_command (int argc, char *argv[])
                add_files_state.added_messages == 1 ?
                "message" : "messages");
     } else {
-       printf ("No new mail---and that's not much!\n");
+       printf ("No new mail---and that's not much.\n");
     }
 
     if (ret) {
@@ -590,7 +590,7 @@ int
 dump_command (int argc, char *argv[])
 {
     FILE *output;
-    notmuch_database_t *notmuch;
+    notmuch_database_t *notmuch = NULL;
     notmuch_query_t *query;
     notmuch_results_t *results;
     notmuch_message_t *message;
@@ -666,7 +666,7 @@ int
 restore_command (int argc, char *argv[])
 {
     FILE *input;
-    notmuch_database_t *notmuch;
+    notmuch_database_t *notmuch = NULL;
     char *line = NULL;
     size_t line_size, line_len;
     regex_t regex;