new: sequences[0] needs to be initialized to NULL.
authormarkus schnalke <meillo@marmaro.de>
Tue, 27 Mar 2012 09:42:39 +0000 (11:42 +0200)
committermarkus schnalke <meillo@marmaro.de>
Tue, 27 Mar 2012 09:42:39 +0000 (11:42 +0200)
This was caught by the nmh test suite.

Pulled in from nmh. Thanks to David Levine.

uip/new.c

index a4da635..f6ac364 100644 (file)
--- a/uip/new.c
+++ b/uip/new.c
@@ -432,6 +432,8 @@ main(int argc, char **argv)
        char *unseen;
        struct node *folder;
 
+       sequences[0] = NULL;
+
 #ifdef LOCALE
        setlocale(LC_ALL, "");
 #endif