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

Diff for /src/usr.bin/rdist/client.c between version 1.28 and 1.29

version 1.28, 2014/07/05 06:45:00 version 1.29, 2014/07/05 06:55:29
Line 976 
Line 976 
                         while (*owner && !isdigit((unsigned char)*owner) &&                          while (*owner && !isdigit((unsigned char)*owner) &&
                             (*owner != '-'))                              (*owner != '-'))
                                 ++owner;                                  ++owner;
                         if (owner && (UID_T) atoi(owner) != statp->st_uid) {                          if (owner && (uid_t)atoi(owner) != statp->st_uid) {
                                 debugmsg(DM_MISC,                                  debugmsg(DM_MISC,
                                          "owner does not match (%d != %s).\n",                                           "owner does not match (%d != %s).\n",
                                          statp->st_uid, owner);                                           statp->st_uid, owner);
Line 1002 
Line 1002 
                         while (*group && !isdigit((unsigned char) *group) &&                          while (*group && !isdigit((unsigned char) *group) &&
                             (*group != '-'))                              (*group != '-'))
                                 ++group;                                  ++group;
                         if (group && (UID_T) atoi(group) != statp->st_gid) {                          if (group && (gid_t)atoi(group) != statp->st_gid) {
                                 debugmsg(DM_MISC,                                  debugmsg(DM_MISC,
                                          "group does not match (%d != %s).\n",                                           "group does not match (%d != %s).\n",
                                          statp->st_gid, group);                                           statp->st_gid, group);

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29