-
-/*
- * dist.c -- re-distribute a message
+/* dist.c -- re-distribute a message
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
#include <h/mh.h>
#include <h/utils.h>
+#include "../sbr/m_maildir.h"
#include <fcntl.h>
#define DIST_SWITCHES \
if (*cp == '+' || *cp == '@') {
if (folder)
adios (NULL, "only one folder at a time!");
- else
- folder = pluspath (cp);
+ folder = pluspath (cp);
} else {
if (msg)
adios (NULL, "only one message at a time!");
- else
- msg = cp;
+ msg = cp;
}
}
i = YESW;
break;
default:
- advise (NULL, "say what?");
+ inform("say what?");
break;
}
}