Commit 9ada5ea3 authored by Mark Andrews's avatar Mark Andrews
Browse files

ref not rep

parent 20403510
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment