***************
*** 9,22 ****
   *
   * List request for DISCUSS
   *
!  * $Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/third/common/attic.72/discuss.72/source/client/RCS/list.c,v 1.1 91/03/04 16:27:20 probe Exp $
   * $Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/third/common/attic.72/discuss.72/source/client/RCS/list.c,v $
   * $Locker:  $
   *
   */
  #ifndef lint
! static char rcsid_discuss_c[] =
!     "$Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/third/common/attic.72/discuss.72/source/client/RCS/list.c,v 1.1 91/03/04 16:27:20 probe Exp $";
  #endif lint
  
  #include <stdio.h>
--- 9,22 ----
   *
   * List request for DISCUSS
   *
!  * $Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/third/common/attic.72/discuss.72/source/client/RCS/list.c,v 1.2 91/03/04 16:31:13 probe Exp $
   * $Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/third/common/attic.72/discuss.72/source/client/RCS/list.c,v $
   * $Locker:  $
   *
   */
  #ifndef lint
! static char *rcsid_discuss_c =
!     "$Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/third/common/attic.72/discuss.72/source/client/RCS/list.c,v 1.2 91/03/04 16:31:13 probe Exp $";
  #endif lint
  
  #include <stdio.h>
***************
*** 43,49 ****
  {
  	char newtime[26], nlines[10];
  	char *cp;
! 	int max_len;
  
  	if (*codep == NO_ACCESS) {
  	        *codep = 0;
--- 43,49 ----
  {
  	char newtime[26], nlines[10];
  	char *cp;
! 	int len;
  
  	if (*codep == NO_ACCESS) {
  	        *codep = 0;
***************
*** 90,99 ****
  
  	(void) sprintf (buffer + strlen (buffer), "%s %s %-15s ",
  			nlines, newtime, t_infop->author);
! 	max_len = 79 - strlen (buffer);
  
! 	if (!long_subjects && strlen (t_infop->subject) > max_len)
! 	    (void) strcpy (&t_infop->subject [max_len - 3], "...");
  
  	(void) printf ("%s%s\n", buffer, t_infop->subject);
  
--- 90,99 ----
  
  	(void) sprintf (buffer + strlen (buffer), "%s %s %-15s ",
  			nlines, newtime, t_infop->author);
! 	len = 79 - strlen (buffer);
  
! 	if (!long_subjects && strlen (t_infop->subject) > len)
! 	    (void) strcpy (&t_infop->subject [len - 3], "...");
  
  	(void) printf ("%s%s\n", buffer, t_infop->subject);
  
