diff options
author | Ted Lemon <source@isc.org> | 2000-01-27 22:40:55 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-01-27 22:40:55 +0000 |
commit | 37e365b4908467386d1d9a6f1633bbc18d585c87 (patch) | |
tree | 3858e15b4511c608692123cdea78976ecd9f8962 /omapip/protocol.c | |
parent | 14bb0a3fd90a84a88bcbae2733e5563653684dea (diff) | |
download | isc-dhcp-37e365b4908467386d1d9a6f1633bbc18d585c87.tar.gz |
- In reference count history, remember the address where the reference
is stored as well as the address of the thing referenced.
Diffstat (limited to 'omapip/protocol.c')
-rw-r--r-- | omapip/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/omapip/protocol.c b/omapip/protocol.c index 555207ef..bfdc5540 100644 --- a/omapip/protocol.c +++ b/omapip/protocol.c @@ -35,7 +35,7 @@ isc_result_t omapi_protocol_connect (omapi_object_t *h, return ISC_R_NOMEMORY; memset (obj, 0, sizeof *obj); obj -> refcnt = 1; - rc_register_mdl (obj, obj -> refcnt); + rc_register_mdl (&obj, obj, obj -> refcnt); obj -> type = omapi_type_protocol; status = omapi_connect ((omapi_object_t *)obj, server_name, port); |