changeset 12:43631b72021f noffle

[svn] Fixed bug: multiple line headers of posted articles were truncated
author enz
date Sat, 15 Apr 2000 11:09:20 +0100
parents 9c32711fc479
children 6121f8feb3e5
files CHANGELOG.html server.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG.html	Tue Apr 11 07:59:39 2000 +0100
+++ b/CHANGELOG.html	Sat Apr 15 11:09:20 2000 +0100
@@ -32,6 +32,8 @@
 <li>
 Fixed a bug that broke cross-posting of articles
 <li>
+Fixed a bug that truncated headers of posted articles.
+<li>
 Long overview header lines are now split into multiple lines in response
 to HEAD or ARTICLE commands.
 <li>
--- a/server.c	Tue Apr 11 07:59:39 2000 +0100
+++ b/server.c	Sat Apr 15 11:09:20 2000 +0100
@@ -1,7 +1,7 @@
 /*
   server.c
 
-  $Id: server.c 3 2000-01-04 11:35:42Z enz $
+  $Id: server.c 18 2000-04-15 10:09:20Z enz $
 */
 
 #include "server.h"
@@ -885,6 +885,9 @@
       (some providers overwrite From field)
       - rename X-Sender header to X-NOFFLE-X-Sender
       (some providers want to insert their own X-Sender)
+
+      For doing this, it is not necessary to parse multiple-line
+      headers.
     */
     putStat( STAT_SEND_ART, "Continue (end with period)" );
     fflush( stdout );
@@ -963,7 +966,7 @@
                     DynStr_appLn( s, p );
             }
             else
-                Log_err( "Ignoring invalid header line '%s'", p );
+                DynStr_appLn( s, line );
         }
         else
             DynStr_appLn( s, line );