Searched refs:srv_cnt (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_create.c66 int srv_cnt = 0; local
166 ldap_context->server_info_list[srv_cnt] =
168 if (ldap_context->server_info_list[srv_cnt] == NULL) {
175 ldap_context->server_info_list[srv_cnt]->server_status = NOTSET;
177 ldap_context->server_info_list[srv_cnt]->server_name = strdup(val);
178 if (ldap_context->server_info_list[srv_cnt]->server_name == NULL) {
185 srv_cnt++;
H A Dkdb_ldap.c287 int srv_cnt = 0; local
381 ldap_context->server_info_list[srv_cnt] = (krb5_ldap_server_info *) calloc (1, sizeof (krb5_ldap_server_info));
382 if (ldap_context->server_info_list[srv_cnt] == NULL) {
389 ldap_context->server_info_list[srv_cnt]->server_status = NOTSET;
391 ldap_context->server_info_list[srv_cnt]->server_name = strdup(val);
392 if (ldap_context->server_info_list[srv_cnt]->server_name == NULL) {
399 srv_cnt++;

Completed in 45 milliseconds