* nnheader.el (nnheader-parse-head): Try both "from:" and "from: ".
authorSimon Josefsson <jas@extundo.com>
Wed, 18 Oct 2000 07:32:13 +0000 (07:32 +0000)
committerSimon Josefsson <jas@extundo.com>
Wed, 18 Oct 2000 07:32:13 +0000 (07:32 +0000)
* gnus-sum.el (gnus-get-newsgroup-headers): Ditto.

lisp/ChangeLog
lisp/gnus-sum.el
lisp/nnheader.el

index 8ca328b..d86b4a6 100644 (file)
@@ -1,3 +1,9 @@
+2000-10-18  Simon Josefsson  <simon@josefsson.org>
+
+       * nnheader.el (nnheader-parse-head): Try both "from:" and "from: ".
+
+       * gnus-sum.el (gnus-get-newsgroup-headers): Ditto.
+
 2000-10-17  Simon Josefsson  <simon@josefsson.org>
 
        * gnus-sum.el (gnus-get-newsgroup-headers): Search for "from:"
index 8cd5e30..bb2f8ad 100644 (file)
@@ -4745,7 +4745,8 @@ The resulting hash table is returned, or nil if no Xrefs were found."
            ;; From.
            (progn
              (goto-char p)
-             (if (search-forward "\nfrom:" nil t)
+             (if (or (search-forward "\nfrom: " nil t)
+                     (search-forward "\nfrom:" nil t))
                  (funcall gnus-decode-encoded-word-function
                           (nnheader-header-value))
                "(nobody)"))
index 24d6090..b8d8db5 100644 (file)
@@ -216,7 +216,8 @@ on your system, you could say something like:
           ;; From.
           (progn
             (goto-char p)
-            (if (search-forward "\nfrom:" nil t)
+            (if (or (search-forward "\nfrom: " nil t)
+                    (search-forward "\nfrom:" nil t))
                 (nnheader-header-value) "(nobody)"))
           ;; Date.
           (progn