[net.news.b] minor recmail bug

jeff@voder.UUCP (08/22/84)

There is a minor bug in recmail.c.  The result is lots of 'rmXXXXXX'
files left in /tmp.  The diff follows.  N.B. This fix will LEAVE the
temp file if recmail exits because of a write error.

*** /tmp/,RCSt1020196	Wed Aug 22 13:26:11 1984
--- recmail.c	Wed Aug 22 12:53:19 1984
***************
*** 116,119
  			badcnt++;
  	}
  	if (badcnt) {
  		if (goodcnt)

--- 116,120 -----
  			badcnt++;
  	}
+ 	unlink(tmpf);
  	if (badcnt) {
  		if (goodcnt)
*****************

-- 

Jeff Gilliam	{ucbvax,ihnp4!nsc}!voder!jeff