]> diplodocus.org Git - minc/commitdiff
(get_headers): Remove XXX question about whitespace after discussion
authorepg <>
Sun, 25 Aug 2002 20:42:48 +0000 (20:42 +0000)
committerepg <>
Sun, 25 Aug 2002 20:42:48 +0000 (20:42 +0000)
with dsp.

minc

diff --git a/minc b/minc
index 725940a..583b421 100755 (executable)
--- a/minc
+++ b/minc
@@ -325,11 +325,6 @@ sub get_headers {
         } else {
             ($fieldname) = split(/:/);
             $current = lc($fieldname);
         } else {
             ($fieldname) = split(/:/);
             $current = lc($fieldname);
-
-            # XXX: Is it correct simply to eat all whitespace between
-            # the colon and the first text for the header?
-            # Furthermore, is any space at all required?  Or is
-            # '^Subject:hey$' a perfectly valid header?
             (undef, $headers{$current}) = split(/^$fieldname:\s*/);
         }
     }
             (undef, $headers{$current}) = split(/^$fieldname:\s*/);
         }
     }