projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Andreas Krennmair:
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
d8fa359
..
8309545
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-16,6
+16,10
@@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_curses.h"
#include "rfc2047.h"
#include "mutt.h"
#include "mutt_curses.h"
#include "rfc2047.h"
@@
-54,10
+58,16
@@
static void append_signature (FILE *f)
FILE *tmpfp;
pid_t thepid;
FILE *tmpfp;
pid_t thepid;
+ if (SignOffString) {
+ fprintf(f,"\n%s",SignOffString);
+ }
+
if (Signature && (tmpfp = mutt_open_read (Signature, &thepid)))
{
if (option (OPTSIGDASHES))
fputs ("\n-- \n", f);
if (Signature && (tmpfp = mutt_open_read (Signature, &thepid)))
{
if (option (OPTSIGDASHES))
fputs ("\n-- \n", f);
+ else if (SignOffString)
+ fputs("\n",f);
mutt_copy_stream (tmpfp, f);
fclose (tmpfp);
if (thepid != -1)
mutt_copy_stream (tmpfp, f);
fclose (tmpfp);
if (thepid != -1)