[net.news.b] Minor 2.10 bug in rfuncs2.c

pag@hao.UUCP (06/12/83)

There is a bug in 2.10 that causes incorrect dates to be put in the
header of articles that are saved in a file (via the 's' command of
readnews).  This is caused because there is a call to ctime:
		ctime(&hh.subtime);
but hh.subtime has never been assigned.  The fix is simple:
approx line 117:
*****orig******
#ifdef V7MAIL
	fprintf(ufp, "From %s %s",
#ifdef INTERNET
				hh.from,
#else
				hh.path,
#endif

					ctime(&hh.subtime));
#endif
*****fixed*******
#ifdef V7MAIL
 +	hh.subtime = cgtdate(hh.subdate);
	fprintf(ufp, "From %s %s",
#ifdef INTERNET
				hh.from,
#else
				hh.path,
#endif

					ctime(&hh.subtime));
#endif


--peter