autofs-5.1.8 - avoid calling pthread_getspecific() with NULL key_thread_attempt_id

Don't call pthread_getspecific() if key_thread_attempt_id is NULL in
case the pthread_getspecific() implementation doesn't check for this.

Signed-off-by: Ian Kent <raven@themaw.net>
2 files changed