Mercurial > noffle
diff src/post.c @ 357:b0ee77fa24d4 noffle
[svn] * src/post.c,src/configfile.c,src/configfile.h,docs/noffle.conf.5,
noffle.conf.example,TODO: Added a config value to specify whether
a Reply-To header should be appended to messages posted without it.
Also made the new option show up in the noffle.conf manpage and the
initial example configuration shipped with the package.
author | bears |
---|---|
date | Mon, 24 Mar 2003 23:32:48 +0000 |
parents | baa6408d1bbc |
children | fd66260b3479 |
line wrap: on
line diff
--- a/src/post.c Sun Mar 23 15:19:24 2003 +0000 +++ b/src/post.c Mon Mar 24 23:32:48 2003 +0000 @@ -1,7 +1,7 @@ /* post.c - $Id: post.c 414 2003-01-06 18:16:18Z bears $ + $Id: post.c 495 2003-03-24 23:32:48Z bears $ */ #if HAVE_CONFIG_H @@ -380,8 +380,8 @@ DynStr_appLn( s, path ); } - /* Ensure Reply-To header */ - if ( ! replyToFound ) + /* Ensure Reply-To header if configuration demands it */ + if ( ! replyToFound && Cfg_appendReplyTo() ) { Log_dbg( LOG_DBG_POST, "Adding Reply-To field to posted message." ); DynStr_app( s, "Reply-To: " );