[1845] in testers

home help back first fref pref prev next nref lref last post

Re: "from" -r loses -s

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sun Aug 11 20:50:09 1991

To: kcunning@ATHENA.MIT.EDU
Cc: testers@ATHENA.MIT.EDU
In-Reply-To: Your message of Sun, 11 Aug 91 14:27:30 -0400.
Date: Sun, 11 Aug 91 20:50:18 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>


This patch should allow combination of -r and -s.

*** from.c.athena	Fri Aug  9 17:37:50 1991
--- from.c	Sun Aug 11 20:49:58 1991
***************
*** 271,278 ****
  			(void) pop_command("QUIT");
  			return -1;
  		}
! 		if (report) 
! 		  print_report(headers, num_headers, linelength);
  		else
  		  for (j = 0; j < num_headers; j++) {
  		    if (!skip_message)
--- 271,283 ----
  			(void) pop_command("QUIT");
  			return -1;
  		}
! 		if (report) {
! 		  if (!skip_message)
! 		    print_report(headers, num_headers, linelength);
! 		  else
! 		    for (j = 0; j < num_headers; j++)
! 		      free(headers[j]);
! 		}
  		else
  		  for (j = 0; j < num_headers; j++) {
  		    if (!skip_message)

home help back first fref pref prev next nref lref last post