changeset 100:af51bf245bc3 noffle

[svn] Fix stupid Date: bug
author bears
date Fri, 26 May 2000 10:46:29 +0100
parents 651334f85995
children ce8191c38f44
files ChangeLog src/post.c
diffstat 2 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat May 20 21:14:13 2000 +0100
+++ b/ChangeLog	Fri May 26 10:46:29 2000 +0100
@@ -2,6 +2,13 @@
 NOFFLE ChangeLog
 -------------------------------------------------------------------------------
 
+Thu May 25 22:03:56 BST 2000 Jim Hague <jim.hague@acm.org>
+
+ * src/post.c: Fixed stupid bug in article checking code where a
+   correctly formatted Date: line would have the "Date: " removed
+   before writing the outgoing file. Remote servers, not unnaturally,
+   get upset about this. Mea culpa :-(
+	
 Sat May 20 22:10:48 CEST 2000 Uwe Hermann <uh1763@bingo-ev.de>
 
  * docs/Makefile.am, docs/Makefile.in: Added INTERNALS to docs/Makefile.am, so
@@ -9,6 +16,11 @@
 
  * docs/NOTES: Added info about pan versions 0.7.6 and 0.8
 
+Sat May 20 11:46:54 BST 2000 Jim Hague <jim.hague@acm.org>
+
+ * src/client.c: Closer perusal of Son Of RFC1036 reveals that
+   Supersedes: can have multiple message IDs. Do this.
+	
 Fri May 19 14:02:44 BST 2000 Jim Hague <jim.hague@acm.org>
 
  * src/util.h, src/util.c, src/database.c, src/pseudo.c, src/post.c:
--- a/src/post.c	Sat May 20 21:14:13 2000 +0100
+++ b/src/post.c	Fri May 26 10:46:29 2000 +0100
@@ -1,7 +1,7 @@
 /*
   post.c
 
-  $Id: post.c 112 2000-05-19 15:14:41Z bears $
+  $Id: post.c 123 2000-05-26 09:46:29Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -244,11 +244,9 @@
     {
 	time( &t );
 	Utl_newsDate( t, article.over.date );
-	DynStr_app( s, "Date: " );
-	DynStr_appLn( s, article.over.date );
     }
-    else
-	DynStr_appLn( s, article.over.date );
+    DynStr_app( s, "Date: " );
+    DynStr_appLn( s, article.over.date );
 
     /* Ensure Message ID is present and valid */
     if ( Cfg_replaceMsgId() )