From c6237585d819005202a2f28ecacb01612804c74b Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Thu, 8 Mar 2001 19:52:13 +0000 Subject: [PATCH] Fix some typos in the non-threaded version of isc_rwlock_trylock() that were preventing compilation. --- lib/isc/rwlock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/isc/rwlock.c b/lib/isc/rwlock.c index b2b0cdcb80..ee728fe999 100644 --- a/lib/isc/rwlock.c +++ b/lib/isc/rwlock.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rwlock.c,v 1.29 2001/03/08 00:55:13 tale Exp $ */ +/* $Id: rwlock.c,v 1.30 2001/03/08 19:52:13 halley Exp $ */ #include @@ -311,8 +311,8 @@ isc_rwlock_lock(isc_rwlock_t *rwl, isc_rwlocktype_t type) { } isc_result_t -isc_rwlock_lock(isc_rwlock_t *rwl, isc_rwlocktype_t type) { - return (isc_rwlock_lock(rwl, type))g; +isc_rwlock_trylock(isc_rwlock_t *rwl, isc_rwlocktype_t type) { + return (isc_rwlock_lock(rwl, type)); } isc_result_t