Cut&paste errors...
h.b.furuseth@usit.uio.no writes:
I forgot keys must be pointers.
s/keys/thread-specific data/
So ldap_pvt_thread_unique_id() would malloc it if not already set, and fill in with the incremented pointers.
s/incremented pointers/incremented counter/.