]> git.marmaro.de Git - mmh/blobdiff - uip/new.c
Create test cases for the new format functions for local address writing.
[mmh] / uip / new.c
index 99d8528b31519052d880f10b5a44c59085828c78..38c8f0b0329799f8642597104217b145e618ae24 100644 (file)
--- a/uip/new.c
+++ b/uip/new.c
@@ -408,6 +408,9 @@ main(int argc, char **argv)
     char *unseen;
     struct node *folder;
 
+    sequences[0] = NULL;
+    sequences[1] = NULL;
+
 #ifdef LOCALE
     setlocale(LC_ALL, "");
 #endif
@@ -454,6 +457,7 @@ main(int argc, char **argv)
        /* have a sequence argument */
        if (!seq_in_list(cp, sequences)) {
            sequences[i++] = cp;
+           sequences[i] = NULL;
        }
     }