diff server.c @ 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 04124a4423d4
children 526a4c34ee2e
line wrap: on
line diff
--- 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 );