ncpcalls: keep bindery access level wrapper on NCP14 name
Rename the bindery access level wrapper from ncp17_46_get_bindery_access_level() to ncp14_46_get_bindery_access_level(). The previous rename made the operation look like a normal NCP17 bindery wrapper, but the historic implementation used the ncp_14_46 naming. Keep that protocol reference visible while retaining the descriptive operation name. No behavior change.
This commit is contained in:
2
login.c
2
login.c
@@ -926,7 +926,7 @@ int func_passwd(int argc, char *argv[], int mode)
|
||||
uint8 upasswd[130];
|
||||
uint32 my_obj_id;
|
||||
|
||||
if (ncp17_46_get_bindery_access_level(&my_obj_id) < 0 || my_obj_id == MAX_U32 || !my_obj_id) {
|
||||
if (ncp14_46_get_bindery_access_level(&my_obj_id) < 0 || my_obj_id == MAX_U32 || !my_obj_id) {
|
||||
fprintf(stderr, "Cannot get actual user id\n");
|
||||
result = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user