]> granicus.if.org Git - libevent/commitdiff
Fix regress_iocp.c usage of old lock allocation macros.
authorunknown <Nick Mathewson@.(none)>
Wed, 2 Dec 2009 06:22:07 +0000 (01:22 -0500)
committerunknown <Nick Mathewson@.(none)>
Wed, 2 Dec 2009 06:22:07 +0000 (01:22 -0500)
test/regress_iocp.c

index 81866dfe8fcd0674622bac745cd9dd5568938dba..64cfc7e1c6b4b1627fc0f651a52f619331d736b7 100644 (file)
@@ -103,8 +103,8 @@ test_iocp_port(void *ptr)
        memset(&o1, 0, sizeof(o1));
        memset(&o2, 0, sizeof(o2));
 
-       EVTHREAD_ALLOC_LOCK(o1.lock);
-       EVTHREAD_ALLOC_LOCK(o2.lock);
+       EVTHREAD_ALLOC_LOCK(o1.lock, EVTHREAD_LOCKTYPE_RECURSIVE);
+       EVTHREAD_ALLOC_LOCK(o2.lock, EVTHREAD_LOCKTYPE_RECURSIVE);
 
        tt_assert(o1.lock);
        tt_assert(o2.lock);