X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap_r%2Fthr_cthreads.c;h=d9604f81b9feab1bf94fd3d0fbcb542f12fa1887;hb=f84c43a43be094d89e534184fddf61010a4d61f6;hp=a52c406a9cb5ef2f2e5addfd1ff7d591384947cc;hpb=73b846c0112a78033b93f647b85f1bfaa5ee97f2;p=openldap diff --git a/libraries/libldap_r/thr_cthreads.c b/libraries/libldap_r/thr_cthreads.c index a52c406a9c..d9604f81b9 100644 --- a/libraries/libldap_r/thr_cthreads.c +++ b/libraries/libldap_r/thr_cthreads.c @@ -1,5 +1,6 @@ +/* $OpenLDAP$ */ /* - * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA + * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA * All rights reserved. * * Redistribution and use in source and binary forms are permitted only @@ -11,9 +12,9 @@ /* thr_cthreads.c - wrapper for mach cthreads */ #include "portable.h" -#include "ldap_pvt_thread.h" #if defined( HAVE_MACH_CTHREADS ) +#include "ldap_pvt_thread.h" /*********************************************************************** * * @@ -53,7 +54,7 @@ int ldap_pvt_thread_join( ldap_pvt_thread_t thread, void **thread_return ) { void *status; - status = (void *) cthread_join ( tid ); + status = (void *) cthread_join ( thread ); if (thread_return != NULL) { *thread_return = status;