projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change configure.in to emit a warning when an argument is given to
[mmh]
/
uip
/
repl.c
diff --git
a/uip/repl.c
b/uip/repl.c
index
f6d32d3
..
4584b67
100644
(file)
--- a/
uip/repl.c
+++ b/
uip/repl.c
@@
-3,9
+3,14
@@
* repl.c -- reply to a message
*
* $Id$
* repl.c -- reply to a message
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
*/
#include <h/mh.h>
+#include <h/utils.h>
static struct swit switches[] = {
static struct swit switches[] = {
@@
-314,7
+319,7
@@
main (int argc, char **argv)
if (folder)
adios (NULL, "only one folder at a time!");
else
if (folder)
adios (NULL, "only one folder at a time!");
else
- folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF);
+ folder = pluspath (cp);
} else {
if (msg)
adios (NULL, "only one message at a time!");
} else {
if (msg)
adios (NULL, "only one message at a time!");
@@
-437,7
+442,8
@@
try_it_again:
done (0);
what_now (ed, nedit, NOUSE, drft, msg, 0, mp,
anot ? "Replied" : NULL, inplace, cwd);
done (0);
what_now (ed, nedit, NOUSE, drft, msg, 0, mp,
anot ? "Replied" : NULL, inplace, cwd);
- return done (1);
+ done (1);
+ return 1;
}
void
}
void