[BACK]Return to sftp-client.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sftp-client.c between version 1.50 and 1.51

version 1.50, 2004/06/03 12:22:20 version 1.51, 2004/07/11 17:48:47
Line 821 
Line 821 
                 u_int len;                  u_int len;
   
                 /*                  /*
                  * Simulate EOF on interrupt: stop sending new requests and                   * Simulate EOF on interrupt: stop sending new requests and
                  * allow outstanding requests to drain gracefully                   * allow outstanding requests to drain gracefully
                  */                   */
                 if (interrupted) {                  if (interrupted) {
Line 1049 
Line 1049 
                 int len;                  int len;
   
                 /*                  /*
                  * Can't use atomicio here because it returns 0 on EOF,                   * Can't use atomicio here because it returns 0 on EOF,
                  * thus losing the last block of the file.                   * thus losing the last block of the file.
                  * Simulate an EOF on interrupt, allowing ACKs from the                   * Simulate an EOF on interrupt, allowing ACKs from the
                  * server to drain.                   * server to drain.
                  */                   */
                 if (interrupted)                  if (interrupted)

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51