Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
* [sup-devel] [PATCH] fixed a typo in parse_header
@ 2009-12-31  6:43 Eric Sherman
  2009-12-31 19:45 ` William Morgan
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Sherman @ 2009-12-31  6:43 UTC (permalink / raw)
  To: sup-devel

On the initial sup-sync when trying to use xapian for the first time, one 
of my headers apparently triggered this edge case.

---
 lib/sup/message.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/sup/message.rb b/lib/sup/message.rb
index 9d22508..bb7d4cd 100644
--- a/lib/sup/message.rb
+++ b/lib/sup/message.rb
@@ -117,7 +117,7 @@ class Message
     @list_address = if header["list-post"]
       address = if header["list-post"] =~ /mailto:(.*?)[>\s$]/
         $1
-      elsif list-post =~ /@/
+      elsif header["list-post"] =~ /@/
         header["list-post"] # just try the whole fucking thing
       end
       address && Person.from_address(address)
-- 
1.6.5.7
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sup-devel] [PATCH] fixed a typo in parse_header
  2009-12-31  6:43 [sup-devel] [PATCH] fixed a typo in parse_header Eric Sherman
@ 2009-12-31 19:45 ` William Morgan
  0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2009-12-31 19:45 UTC (permalink / raw)
  To: sup-devel

Reformatted excerpts from Eric Sherman's message of 2009-12-30:
> On the initial sup-sync when trying to use xapian for the first time,
> one of my headers apparently triggered this edge case.

Wow, how did I let THAT get through. Applied to list-post-improvements,
remerged into next. Thanks!
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-31 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-31  6:43 [sup-devel] [PATCH] fixed a typo in parse_header Eric Sherman
2009-12-31 19:45 ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox