fixreplyheader bug fix

From: Peter C. McCluskey <pcm_at_rahul.net_at_hypermail-project.org>
Date: Fri, 17 Sep 1999 10:57:52 -0700
Message-Id: <199909171757.AA22424_at_foxtrot.rahul.net>

fixreplyheader depends on a variable replynum which is never initialized in recent versions. Here's a patch which I think makes it work as intended:

 void fixreplyheader(char *dir, int num)  {
- int replynum, subjmatch;
+ int replynum = -1, subjmatch;

     char filename[256];
     char line[MAXLINE];
 

_at_@ -2509,6 +2509,7 @@
email2 = hashreplylookup(email->msgnum, email->inreplyto, &subjmatch); if (!email2) return; + replynum = email2->msgnum; } msnprintf(filename, sizeof(filename), "%s%s%.4d.%s", dir,
-- 
------------------------------------------------------------------------
Peter McCluskey          | Critmail (http://crit.org/critmail.html):
http://www.rahul.net/pcm | Accept nothing less to archive your mailing list
Received on Fri 17 Sep 1999 08:00:51 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:51 PM GMT GMT