*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
arguments = getarguments (invo_name, argc, argv, 1);
argp = arguments;
arguments = getarguments (invo_name, argc, argv, 1);
argp = arguments;
case HELPSW:
snprintf (buf, sizeof(buf), "%s [+folder] [msgs] [switches]",
case HELPSW:
snprintf (buf, sizeof(buf), "%s [+folder] [msgs] [switches]",
if (errno != ENOENT)
adios (file, "error on file");
cp = concat ("Create file \"", file, "\"? ", NULL);
if (errno != ENOENT)
adios (file, "error on file");
cp = concat ("Create file \"", file, "\"? ", NULL);
/* read folder and create message structure */
if (!(mp = folder_read (folder, 1)))
/* read folder and create message structure */
if (!(mp = folder_read (folder, 1)))
/* parse all the message ranges/sequences and set SELECTED */
for (msgnum = 0; msgnum < msgs.size; msgnum++)
/* parse all the message ranges/sequences and set SELECTED */
for (msgnum = 0; msgnum < msgs.size; msgnum++)
- if (mbx_copy (file, mbx_style, md, fd, mapping, NULL, 1) == NOTOK)
+ if (mbx_copy (file, mbx_style, md, fd, NULL) == NOTOK)