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

Diff for /src/usr.bin/telnet/utilities.c between version 1.2 and 1.3

version 1.2, 1996/03/27 19:33:15 version 1.3, 1996/12/12 11:24:08
Line 49 
Line 49 
 #include <arpa/telnet.h>  #include <arpa/telnet.h>
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/time.h>  #include <sys/time.h>
   #include <sys/socket.h>
   #include <unistd.h>
 #include <ctype.h>  #include <ctype.h>
   
 #include "general.h"  #include "general.h"
Line 142 
Line 143 
 #   define min(x,y)     ((x<y)? x:y)  #   define min(x,y)     ((x<y)? x:y)
     unsigned char *pThis;      unsigned char *pThis;
     int offset;      int offset;
     extern pettydump;  
   
     offset = 0;      offset = 0;
   
Line 304 
Line 304 
     int           length;       /* length of suboption data */      int           length;       /* length of suboption data */
 {  {
     register int i;      register int i;
     char buf[512];  
     extern int want_status_response;      extern int want_status_response;
   
     if (showoptions || direction == 0 ||      if (showoptions || direction == 0 ||
Line 757 
Line 756 
                             break;                              break;
   
                         default:                          default:
                         def_case:  
                             if (isprint(pointer[i]) && pointer[i] != '"') {                              if (isprint(pointer[i]) && pointer[i] != '"') {
                                 if (noquote) {                                  if (noquote) {
                                     putc('"', NetTrace);                                      putc('"', NetTrace);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3