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

Diff for /src/usr.bin/ssh/sftp-common.c between version 1.5 and 1.5.2.1

version 1.5, 2001/12/02 02:08:32 version 1.5.2.1, 2002/06/26 15:30:38
Line 70 
Line 70 
 decode_attrib(Buffer *b)  decode_attrib(Buffer *b)
 {  {
         static Attrib a;          static Attrib a;
   
         attrib_clear(&a);          attrib_clear(&a);
         a.flags = buffer_get_int(b);          a.flags = buffer_get_int(b);
         if (a.flags & SSH2_FILEXFER_ATTR_SIZE)          if (a.flags & SSH2_FILEXFER_ATTR_SIZE)
Line 88 
Line 89 
         if (a.flags & SSH2_FILEXFER_ATTR_EXTENDED) {          if (a.flags & SSH2_FILEXFER_ATTR_EXTENDED) {
                 char *type, *data;                  char *type, *data;
                 int i, count;                  int i, count;
   
                 count = buffer_get_int(b);                  count = buffer_get_int(b);
                 for (i = 0; i < count; i++) {                  for (i = 0; i < count; i++) {
                         type = buffer_get_string(b, NULL);                          type = buffer_get_string(b, NULL);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.5.2.1