]> diplodocus.org Git - minc/commitdiff
(get_headers): Be liberal in what you receive...
authorepg <>
Thu, 25 Nov 2004 04:35:26 +0000 (04:35 +0000)
committerepg <>
Thu, 25 Nov 2004 04:35:26 +0000 (04:35 +0000)
minc

diff --git a/minc b/minc
index 05a3b63..85aeadf 100755 (executable)
--- a/minc
+++ b/minc
@@ -438,8 +438,8 @@ sub get_headers {
             # folded header continuation
 
             if (not defined($current)) {
-                print(STDERR "Malformed message, cannot parse headers.\n");
-                return ();
+                warn('Malformed message, cannot parse headers.');
+                next;
             }
 
             @{$headers{$current}}[-1] .= $_;