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

Diff for /src/usr.bin/ftp/main.c between version 1.38 and 1.39

version 1.38, 1998/02/17 23:22:56 version 1.39, 1998/05/13 08:59:08
Line 59 
Line 59 
 #include <netdb.h>  #include <netdb.h>
 #include <pwd.h>  #include <pwd.h>
 #include <stdio.h>  #include <stdio.h>
   #include <errno.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
Line 331 
Line 332 
 void  void
 lostpeer()  lostpeer()
 {  {
           int save_errno = errno;
   
         alarmtimer(0);          alarmtimer(0);
         if (connected) {          if (connected) {
Line 357 
Line 359 
         }          }
         proxflag = 0;          proxflag = 0;
         pswitch(0);          pswitch(0);
           errno = save_errno;
 }  }
   
 /*  /*

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39