r4961 - developers/werner/bin

werner at docs.openmoko.org werner at docs.openmoko.org
Thu Mar 26 04:32:52 CET 2009


Author: werner
Date: 2009-03-26 04:32:52 +0100 (Thu, 26 Mar 2009)
New Revision: 4961

Modified:
   developers/werner/bin/mdflt
Log:
Yahoo are right about RFC822 and I was wrong: no whitespace is required
after the colon.



Modified: developers/werner/bin/mdflt
===================================================================
--- developers/werner/bin/mdflt	2009-03-26 03:31:37 UTC (rev 4960)
+++ developers/werner/bin/mdflt	2009-03-26 03:32:52 UTC (rev 4961)
@@ -2,8 +2,8 @@
 #
 # mdflt - Maildir filter
 #
-# Copyright (C) 2008 by Openmoko, Inc.
-# Written 2008 by Werner Almesberger
+# Copyright (C) 2008, 2009 by Openmoko, Inc.
+# Written 2008, 2009 by Werner Almesberger
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -82,7 +82,7 @@
     while (<FILE>) {
 	chop;
 	last if /^$/;
-	if (/^(\S+):\s+/) {
+	if (/^(\S+):/) {
 	    $last = uc $1;
 	    $hdr{$last} = $';
 	} elsif (/^(\S+):$/) {




More information about the commitlog mailing list