[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.63 and 1.64

version 1.63, 2006/03/25 13:17:02 version 1.64, 2006/03/30 09:58:16
Line 28 
Line 28 
   
 #include "buffer.h"  #include "buffer.h"
 #include "bufaux.h"  #include "bufaux.h"
 #include "getput.h"  
 #include "xmalloc.h"  #include "xmalloc.h"
 #include "log.h"  #include "log.h"
 #include "atomicio.h"  #include "atomicio.h"
 #include "progressmeter.h"  #include "progressmeter.h"
   #include "misc.h"
   
 #include "sftp.h"  #include "sftp.h"
 #include "sftp-common.h"  #include "sftp-common.h"
Line 62 
Line 62 
                 fatal("Outbound message too long %u", buffer_len(m));                  fatal("Outbound message too long %u", buffer_len(m));
   
         /* Send length first */          /* Send length first */
         PUT_32BIT(mlen, buffer_len(m));          put_u32(mlen, buffer_len(m));
         if (atomicio(vwrite, fd, mlen, sizeof(mlen)) != sizeof(mlen))          if (atomicio(vwrite, fd, mlen, sizeof(mlen)) != sizeof(mlen))
                 fatal("Couldn't send packet: %s", strerror(errno));                  fatal("Couldn't send packet: %s", strerror(errno));
   

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64