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

/osnet-11/usr/src/lib/libsldap/common/
H A Dns_connect.c83 static Connection **sessionPool = NULL; variable
545 if (sessionPool == NULL) {
547 sessionPool = calloc(sessionPoolSize,
549 if (!sessionPool) {
554 (void) fprintf(stderr, "Initialized sessionPool\n");
557 for (i = 0; (i < sessionPoolSize) && (sessionPool[i] != NULL); ++i)
560 /* run out of array, need to increase sessionPool */
562 cl = (Connection **) realloc(sessionPool,
571 sessionPool = cl;
578 sessionPool[
[all...]

Completed in 17 milliseconds