<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3221: Detect modified In-Reply-To headers and clear



#3221: Detect modified In-Reply-To headers and clear References header.
--------------------------+-------------------------------------------------
  Reporter:  int-e        |       Owner:  mutt-dev
      Type:  enhancement  |      Status:  new     
  Priority:  major        |   Milestone:          
 Component:  mutt         |     Version:  1.5.19  
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------

Comment(by pdmef):

 I think the direction is correct, but IMHO it should be done differently.
 Since In-Reply-To is a list, I think it's not enough to compare the list
 head only.

 How about adding mutt_list_equal() function and use that to see if In-
 Reply-To has changed?

 Right now IRT is only one value but that is a bug (when replying to
 several messages at once we shouldn't have References: but only In-Reply-
 To: with two Message-Id headers) so checking the whole list seems better
 to me.

 For strcmp() you should use mutt_strcmp().

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3221#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent