Searched defs:sessionPool (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c84 static Connection **sessionPool = NULL; variable
533 if (sessionPool == NULL) {
535 sessionPool = calloc(sessionPoolSize,
537 if (!sessionPool) {
542 (void) fprintf(stderr, "Initialized sessionPool\n");
545 for (i = 0; (i < sessionPoolSize) && (sessionPool[i] != NULL); ++i)
548 /* run out of array, need to increase sessionPool */
550 cl = (Connection **) realloc(sessionPool,
559 sessionPool = cl;
566 sessionPool[
[all...]

Completed in 59 milliseconds