Made show(1) the default lproc. `list' and `display' changed a bit.
[mmh] / sbr / m_draft.c
index 8492dd9..3659ff3 100644 (file)
@@ -27,6 +27,7 @@ m_draft(char *which)
        if (!(mp = folder_read(folder))) {
                adios(NULL, "unable to read folder %s", folder);
        }
+       free(folder);
 
        /*
        ** Make sure we have enough message status space for all
@@ -42,7 +43,7 @@ m_draft(char *which)
                        adios(NULL, "unable to allocate folder storage");
        }
 
-       mp->msgflags |= ALLOW_NEW;  /* allow the "new" sequence */
+       mp->msgflags |= ALLOW_BEYOND;  /* allow the beyond sequence */
 
        /*
        ** The draft message name to return is defined by `which'.