fix access unparse (ITS#3631)

This commit is contained in:
Pierangelo Masarati 2005-04-12 23:10:48 +00:00
parent a85603c10b
commit 98294f1125

View File

@ -1853,14 +1853,12 @@ accessmask2str( slap_mask_t mask, char *buf, int debug )
if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WRITE) ) { if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WRITE) ) {
none = 0; none = 0;
*ptr++ = 'w'; *ptr++ = 'w';
}
if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WADD) ) { } else if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WADD) ) {
none = 0; none = 0;
*ptr++ = 'a'; *ptr++ = 'a';
}
if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WDEL) ) { } else if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WDEL) ) {
none = 0; none = 0;
*ptr++ = 'z'; *ptr++ = 'z';
} }