debug to level 5
All checks were successful
Source release / source-package (push) Successful in 44s

This commit is contained in:
Mario Fetka
2026-05-25 15:10:22 +02:00
parent 9c76ddcb17
commit d7f90ffdd3

View File

@@ -617,9 +617,11 @@ static int handle_ncp_serv(void)
p+3,
(int)*(p+2), 0);
if (result > -1) {
xdata->eff_right_mask = (uint8) result;
int ncp22_rights = trustee_v3_to_ncp22_rights(result);
xdata->eff_right_mask = (uint8)ncp22_rights;
data_len = 1;
XDPRINTF((5,0,"Got eff Dir Rights=%d", (int)result));
XDPRINTF((5,0,"NCP22/3 Get Dir Rights=%d ncp22=%d",
(int)result, (int)ncp22_rights));
} else completition = (uint8) -result;
}
break;
@@ -1103,12 +1105,12 @@ static int handle_ncp_serv(void)
int ncp22_rights = trustee_v3_to_ncp22_rights(result);
U16_TO_16(ncp22_rights, xdata->eff_rights);
data_len = sizeof(struct XDATA);
XDPRINTF((1,0,
XDPRINTF((5,0,
"NCP22/42 GetEffectiveRights: dh=%d pathlen=%d path=`%s` rights=0x%04x ncp22=0x%04x",
dir_handle, pathlen, pathbuf, result, ncp22_rights));
} else {
completition = (uint8) (-result);
XDPRINTF((1,0,
XDPRINTF((5,0,
"NCP22/42 GetEffectiveRights: dh=%d pathlen=%d path=`%s` rc=%d",
dir_handle, pathlen, pathbuf, result));
}