Changeset 4368

Show
Ignore:
Timestamp:
02/09/91 08:15:37 (19 years ago)
Author:
epeisach
Message:

Under ultrix - when asking for help - (null) was printed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/athena/bin/lpr/lpc.c

    r4271 r4368  
    11/* 
    22 *      $Source: /afs/dev.mit.edu/source/repository/athena/bin/lpr/lpc.c,v $ 
    3  *      $Header: /afs/dev.mit.edu/source/repository/athena/bin/lpr/lpc.c,v 1.5 1991-01-23 13:19:38 epeisach Exp $ 
     3 *      $Header: /afs/dev.mit.edu/source/repository/athena/bin/lpr/lpc.c,v 1.6 1991-02-09 13:15:37 epeisach Exp $ 
    44 */ 
    55 
    66#ifndef lint 
    7 static char *rcsid_lpc_c = "$Header: /afs/dev.mit.edu/source/repository/athena/bin/lpr/lpc.c,v 1.5 1991-01-23 13:19:38 epeisach Exp $"; 
     7static char *rcsid_lpc_c = "$Header: /afs/dev.mit.edu/source/repository/athena/bin/lpr/lpc.c,v 1.6 1991-02-09 13:15:37 epeisach Exp $"; 
    88#endif lint 
    99 
     
    246246                        for (j = 0; j < columns; j++) { 
    247247                                c = cmdtab + j * lines + i; 
    248                                 printf("%s", c->c_name); 
     248                                if(c->c_name) printf("%s", c->c_name); 
    249249                                if (c + lines >= &cmdtab[NCMDS]) { 
    250250                                        printf("\n");