[BACK]Return to netstat.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / systat

Diff for /src/usr.bin/systat/netstat.c between version 1.9 and 1.10

version 1.9, 1997/12/19 09:22:55 version 1.10, 1997/12/19 09:36:50
Line 400 
Line 400 
                     ntohs((u_short)port));                      ntohs((u_short)port));
         /* pad to full column to clear any garbage */          /* pad to full column to clear any garbage */
         cp = strchr(line, '\0');          cp = strchr(line, '\0');
         while (cp - line < 22)          while (cp - line < 22 && cp - line < sizeof line-1)
                 *cp++ = ' ';                  *cp++ = ' ';
         *cp = '\0';          *cp = '\0';
         waddstr(wnd, line);          waddstr(wnd, line);

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10