diff options
| -rw-r--r-- | maildrop/configure.ac | 2 | ||||
| -rw-r--r-- | maildrop/reformail.C | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/maildrop/configure.ac b/maildrop/configure.ac index c1521dd..73f5cd5 100644 --- a/maildrop/configure.ac +++ b/maildrop/configure.ac @@ -2,7 +2,7 @@ dnl dnl Copyright 1998 - 2017 Double Precision, Inc. See COPYING for dnl distribution information. -AC_INIT(maildrop, 2.9.1, [courier-users@lists.sourceforge.net]) +AC_INIT(maildrop, 2.9.2, [courier-users@lists.sourceforge.net]) >confdefs.h # Kill PACKAGE_ macros diff --git a/maildrop/reformail.C b/maildrop/reformail.C index d4a47d9..fec2a68 100644 --- a/maildrop/reformail.C +++ b/maildrop/reformail.C @@ -212,6 +212,8 @@ static Buffer from_header; strncmp(header, "errors-to:", 10) == 0 || strncmp(header, ">errors-to:", 11) == 0) { + const char *p; + for (p=header; *p != ':'; p++) ; return_path=p; @@ -285,7 +287,7 @@ const char *add_from_filter_header() static Buffer buf; buf.reset(); - + if (*add_from_filter_buf_ptr == '\0') { from_filter= &add_from_filter_body; |
