X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/de4636bb664106d9932ae7acb517e471b848f1f3..a75b45f604c4e48b0f39be25ce59cd1955e5f9a4:/uip/dist.c diff --git a/uip/dist.c b/uip/dist.c index 29820f30..d3ceaec2 100644 --- a/uip/dist.c +++ b/uip/dist.c @@ -64,7 +64,7 @@ static struct swit aqrl[] = { { "replace", 0, YESW }, { "list", 0, LISTDSW }, { "refile +folder", 0, REFILSW }, - { NULL, 0 } + { NULL, 0, 0 } }; @@ -281,7 +281,7 @@ try_it_again: adios (maildir, "unable to change directory to"); /* read folder and create message structure */ - if (!(mp = folder_read (folder))) + if (!(mp = folder_read (folder, 1))) adios (NULL, "unable to read folder %s", folder); /* check for empty folder */