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

Diff for /src/usr.bin/ftp/ftp.c between version 1.82 and 1.83

version 1.82, 2012/04/30 13:41:26 version 1.83, 2013/11/13 20:41:14
Line 378 
Line 378 
 static int current_nop_pos = 0;         /* 0 -> no noop started */  static int current_nop_pos = 0;         /* 0 -> no noop started */
   
 /* to achieve keep alive, we send noop one byte at a time */  /* to achieve keep alive, we send noop one byte at a time */
 void  static void
 send_noop_char()  send_noop_char(void)
 {  {
 #ifndef SMALL  #ifndef SMALL
         if (debug)          if (debug)
Line 393 
Line 393 
         }          }
 }  }
   
 void  static void
 may_reset_noop_timeout()  may_reset_noop_timeout(void)
 {  {
         if (keep_alive_timeout != 0)          if (keep_alive_timeout != 0)
                 last_timestamp = time(NULL);                  last_timestamp = time(NULL);
 }  }
   
 void  static void
 may_receive_noop_ack()  may_receive_noop_ack(void)
 {  {
         int i;          int i;
   
Line 429 
Line 429 
         full_noops_sent = 0;          full_noops_sent = 0;
 }  }
   
 void  static void
 may_send_noop_char()  may_send_noop_char(void)
 {  {
         if (keep_alive_timeout != 0) {          if (keep_alive_timeout != 0) {
                 if (last_timestamp != 0) {                  if (last_timestamp != 0) {
Line 2047 
Line 2047 
 jmp_buf forceabort;  jmp_buf forceabort;
   
 /* ARGSUSED */  /* ARGSUSED */
 void  static void
 abortforce(int signo)  abortforce(int signo)
 {  {
         fputs("Forced abort.  The connection will be closed.\n", ttyout);          fputs("Forced abort.  The connection will be closed.\n", ttyout);

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83