diff --git a/src/nwconn.c b/src/nwconn.c index 1772305..8d87c0a 100644 --- a/src/nwconn.c +++ b/src/nwconn.c @@ -1468,7 +1468,8 @@ static int handle_ncp_serv(void) } if (result > -1) { - U16_TO_16(result, xdata->eff_rights); + int ncp22_rights = trustee_v3_to_ncp22_rights(result); + U16_TO_16(ncp22_rights, xdata->eff_rights); data_len = sizeof(struct XDATA); } else completition = (uint8)(-result); }