[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.4 and 1.4.2.2

version 1.4, 2001/07/14 15:10:17 version 1.4.2.2, 2002/06/26 18:22:36
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);
Line 144 
Line 146 
                 return("Operation unsupported");                  return("Operation unsupported");
         default:          default:
                 return("Unknown status");                  return("Unknown status");
         };          }
         /* NOTREACHED */          /* NOTREACHED */
 }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.2.2