diff options
Diffstat (limited to 'engines/e_aep.c')
-rw-r--r-- | engines/e_aep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/e_aep.c b/engines/e_aep.c index 8e10bb7760..5083c80ef8 100644 --- a/engines/e_aep.c +++ b/engines/e_aep.c @@ -852,7 +852,11 @@ static AEP_RV aep_get_connection(AEP_CONNECTION_HNDL_PTR phConnection) CRYPTO_w_lock(CRYPTO_LOCK_ENGINE); +#ifndef NETWARE_CLIB curr_pid = getpid(); +#else + curr_pid = GetThreadID(); +#endif /*Check if this is the first time this is being called from the current process*/ |