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

Diff for /src/usr.bin/ssh/sftp-server.c between version 1.36 and 1.37

version 1.36, 2002/06/23 09:30:14 version 1.37, 2002/06/24 17:57:20
Line 692 
Line 692 
         if ((pw = getpwuid(st->st_uid)) != NULL) {          if ((pw = getpwuid(st->st_uid)) != NULL) {
                 user = pw->pw_name;                  user = pw->pw_name;
         } else {          } else {
                 snprintf(ubuf, sizeof ubuf, "%u", st->st_uid);                  snprintf(ubuf, sizeof ubuf, "%u", (u_int)st->st_uid);
                 user = ubuf;                  user = ubuf;
         }          }
         if ((gr = getgrgid(st->st_gid)) != NULL) {          if ((gr = getgrgid(st->st_gid)) != NULL) {
                 group = gr->gr_name;                  group = gr->gr_name;
         } else {          } else {
                 snprintf(gbuf, sizeof gbuf, "%u", st->st_gid);                  snprintf(gbuf, sizeof gbuf, "%u", (u_int)st->st_gid);
                 group = gbuf;                  group = gbuf;
         }          }
         if (ltime != NULL) {          if (ltime != NULL) {

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37