]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
ref not rep
authorMark Andrews <marka@isc.org>
Mon, 25 Jul 2005 00:52:12 +0000 (00:52 +0000)
committerMark Andrews <marka@isc.org>
Mon, 25 Jul 2005 00:52:12 +0000 (00:52 +0000)
lib/isc/refcount.c

index 1c2c5df290b0d86b22539f6bc1212095bad75b3b..a1bfeded17dacb0849b4621f697699b38ea04eb0 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: refcount.c,v 1.2 2005/07/12 01:14:31 marka Exp $ */
+/* $Id: refcount.c,v 1.3 2005/07/25 00:52:12 marka Exp $ */
 
 #include <config.h>
 
@@ -30,7 +30,7 @@ isc_refcount_init(isc_refcount_t *ref, unsigned int n) {
 
        ref->refs = n;
 #if defined(ISC_PLATFORM_USETHREADS) && !defined(ISC_PLATFORM_HAVEXADD)
-       return (isc_mutex_init(&rep->lock));
+       return (isc_mutex_init(&ref->lock));
 #else
        return (ISC_R_SUCCESS);
 #endif