Diff for /libaitcfg/src/pq.c between versions 1.1.2.2 and 1.1.2.3

version 1.1.2.2, 2012/09/19 11:47:39 version 1.1.2.3, 2012/09/19 12:04:44
Line 61  _selectPasswd(pwd_root_t * __restrict pwd, u_int uid,  Line 61  _selectPasswd(pwd_root_t * __restrict pwd, u_int uid, 
                 return RB_FIND(tagPWD, pwd, &fu);                  return RB_FIND(tagPWD, pwd, &fu);
         }          }
   
        return cfg_findPasswdBy(pwd, PWD_CRIT_UID, uid);        return (struct tagUser*) cfg_findPasswdBy(pwd, PWD_CRIT_UID, uid);
 }  }
   
 /* --------------------------------------------------------------- */  /* --------------------------------------------------------------- */
Line 74  _selectPasswd(pwd_root_t * __restrict pwd, u_int uid,  Line 74  _selectPasswd(pwd_root_t * __restrict pwd, u_int uid, 
  * @arg1 = Username | UID | GID   * @arg1 = Username | UID | GID
  * return: NULL not found item or error and !=NULL found item   * return: NULL not found item or error and !=NULL found item
  */   */
struct tagUser *const struct tagUser *
 cfg_findPasswdBy(pwd_root_t * __restrict pwd, int criteria, ...)  cfg_findPasswdBy(pwd_root_t * __restrict pwd, int criteria, ...)
 {  {
         struct tagUser *u;          struct tagUser *u;

Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>