diff options
Diffstat (limited to 'nis/nss_nisplus')
-rw-r--r-- | nis/nss_nisplus/nisplus-alias.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-ethers.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-hosts.c | 4 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-network.c | 4 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-parser.c | 6 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-proto.c | 4 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-rpc.c | 4 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-service.c | 4 |
8 files changed, 15 insertions, 15 deletions
diff --git a/nis/nss_nisplus/nisplus-alias.c b/nis/nss_nisplus/nisplus-alias.c index f074c5fa63..76c6f25813 100644 --- a/nis/nss_nisplus/nisplus-alias.c +++ b/nis/nss_nisplus/nisplus-alias.c @@ -67,7 +67,7 @@ _nss_nisplus_parse_aliasent (nis_result *result, unsigned long entry, return 0; if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (&result->objects.objects_val[entry]) != ENTRY_OBJ || + __type_of (&result->objects.objects_val[entry]) != NIS_ENTRY_OBJ || strcmp(result->objects.objects_val[entry].EN_data.en_type, "mail_aliases") != 0 || result->objects.objects_val[entry].EN_data.en_cols.en_cols_len < 2) diff --git a/nis/nss_nisplus/nisplus-ethers.c b/nis/nss_nisplus/nisplus-ethers.c index b21c276df2..8ca6935cc7 100644 --- a/nis/nss_nisplus/nisplus-ethers.c +++ b/nis/nss_nisplus/nisplus-ethers.c @@ -63,7 +63,7 @@ _nss_nisplus_parse_etherent (nis_result *result, struct etherent *ether, if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || result->objects.objects_len != 1 || - __type_of (NIS_RES_OBJECT (result)) != ENTRY_OBJ || + __type_of (NIS_RES_OBJECT (result)) != NIS_ENTRY_OBJ || strcmp(NIS_RES_OBJECT (result)->EN_data.en_type, "ethers_tbl") != 0 || NIS_RES_OBJECT(result)->EN_data.en_cols.en_cols_len < 2) diff --git a/nis/nss_nisplus/nisplus-hosts.c b/nis/nss_nisplus/nisplus-hosts.c index 7fefec0fd3..d1aa5ef787 100644 --- a/nis/nss_nisplus/nisplus-hosts.c +++ b/nis/nss_nisplus/nisplus-hosts.c @@ -57,7 +57,7 @@ _nss_nisplus_parse_hostent (nis_result *result, int af, struct hostent *host, return 0; if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp(result->objects.objects_val[0].EN_data.en_type, "hosts_tbl") != 0 || result->objects.objects_val[0].EN_data.en_cols.en_cols_len < 4) @@ -340,7 +340,7 @@ _nss_nisplus_gethostbyname2_r (const char *name, int af, struct hostent *host, /* If we do not find it, try it as original name. But if the database is correct, we should find it in the first case, too */ if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp(result->objects.objects_val->EN_data.en_type, "hosts_tbl") != 0 || result->objects.objects_val->EN_data.en_cols.en_cols_len < 3) diff --git a/nis/nss_nisplus/nisplus-network.c b/nis/nss_nisplus/nisplus-network.c index 8aa8bc0f9e..e548017068 100644 --- a/nis/nss_nisplus/nisplus-network.c +++ b/nis/nss_nisplus/nisplus-network.c @@ -54,7 +54,7 @@ _nss_nisplus_parse_netent (nis_result *result, struct netent *network, return 0; if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp(result->objects.objects_val[0].EN_data.en_type, "networks_tbl") != 0 || result->objects.objects_val[0].EN_data.en_cols.en_cols_len < 3) @@ -310,7 +310,7 @@ _nss_nisplus_getnetbyname_r (const char *name, struct netent *network, database is correct, we should find it in the first case, too */ if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp(result->objects.objects_val[0].EN_data.en_type, "networks_tbl") != 0 || result->objects.objects_val[0].EN_data.en_cols.en_cols_len < 3) diff --git a/nis/nss_nisplus/nisplus-parser.c b/nis/nss_nisplus/nisplus-parser.c index db5f487159..b700fa66b4 100644 --- a/nis/nss_nisplus/nisplus-parser.c +++ b/nis/nss_nisplus/nisplus-parser.c @@ -44,7 +44,7 @@ _nss_nisplus_parse_pwent (nis_result *result, struct passwd *pw, if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || result->objects.objects_len != 1 || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp(result->objects.objects_val->EN_data.en_type, "passwd_tbl") != 0 || result->objects.objects_val->EN_data.en_cols.en_cols_len < 7) @@ -141,7 +141,7 @@ _nss_nisplus_parse_grent (nis_result *result, u_long entry, return 0; if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of(result->objects.objects_val) != ENTRY_OBJ || + __type_of(result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp (result->objects.objects_val[entry].EN_data.en_type, "group_tbl") != 0 || result->objects.objects_val[entry].EN_data.en_cols.en_cols_len < 4) @@ -250,7 +250,7 @@ _nss_nisplus_parse_spent (nis_result *result, struct spwd *sp, if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || result->objects.objects_len != 1 || - __type_of(result->objects.objects_val) != ENTRY_OBJ || + __type_of(result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp (result->objects.objects_val->EN_data.en_type, "passwd_tbl") != 0 || result->objects.objects_val[0].EN_data.en_cols.en_cols_len < 8) diff --git a/nis/nss_nisplus/nisplus-proto.c b/nis/nss_nisplus/nisplus-proto.c index b64d4bdd02..2cbd9fe2fa 100644 --- a/nis/nss_nisplus/nisplus-proto.c +++ b/nis/nss_nisplus/nisplus-proto.c @@ -52,7 +52,7 @@ _nss_nisplus_parse_protoent (nis_result * result, struct protoent *proto, return 0; if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (NIS_RES_OBJECT (result)) != ENTRY_OBJ || + __type_of (NIS_RES_OBJECT (result)) != NIS_ENTRY_OBJ || strcmp (NIS_RES_OBJECT (result)->EN_data.en_type, "protocols_tbl") != 0 || NIS_RES_OBJECT (result)->EN_data.en_cols.en_cols_len < 3) return 0; @@ -282,7 +282,7 @@ _nss_nisplus_getprotobyname_r (const char *name, struct protoent *proto, database is correct, we should find it in the first case, too */ if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp (result->objects.objects_val->EN_data.en_type, "protocols_tbl") != 0 || result->objects.objects_val->EN_data.en_cols.en_cols_len < 3) diff --git a/nis/nss_nisplus/nisplus-rpc.c b/nis/nss_nisplus/nisplus-rpc.c index e93a51652e..77a7248305 100644 --- a/nis/nss_nisplus/nisplus-rpc.c +++ b/nis/nss_nisplus/nisplus-rpc.c @@ -53,7 +53,7 @@ _nss_nisplus_parse_rpcent (nis_result *result, struct rpcent *rpc, return 0; if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp(result->objects.objects_val[0].EN_data.en_type, "rpc_tbl") != 0 || result->objects.objects_val[0].EN_data.en_cols.en_cols_len < 3) @@ -282,7 +282,7 @@ _nss_nisplus_getrpcbyname_r (const char *name, struct rpcent *rpc, database is correct, we should find it in the first case, too */ if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp (result->objects.objects_val->EN_data.en_type, "rpc_tbl") != 0 || result->objects.objects_val->EN_data.en_cols.en_cols_len < 3) diff --git a/nis/nss_nisplus/nisplus-service.c b/nis/nss_nisplus/nisplus-service.c index e1a89f92be..95a8cfa74b 100644 --- a/nis/nss_nisplus/nisplus-service.c +++ b/nis/nss_nisplus/nisplus-service.c @@ -52,7 +52,7 @@ _nss_nisplus_parse_servent (nis_result *result, struct servent *serv, return 0; if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp (result->objects.objects_val->EN_data.en_type, "services_tbl") != 0 || result->objects.objects_val->EN_data.en_cols.en_cols_len < 4) @@ -294,7 +294,7 @@ _nss_nisplus_getservbyname_r (const char *name, const char *protocol, database is correct, we should find it in the first case, too */ if ((result->status != NIS_SUCCESS && result->status != NIS_S_SUCCESS) || - __type_of (result->objects.objects_val) != ENTRY_OBJ || + __type_of (result->objects.objects_val) != NIS_ENTRY_OBJ || strcmp (result->objects.objects_val->EN_data.en_type, "services_tbl") != 0 || result->objects.objects_val->EN_data.en_cols.en_cols_len < 4) |