summaryrefslogtreecommitdiff
path: root/omapip/protocol.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-01-27 22:40:55 +0000
committerTed Lemon <source@isc.org>2000-01-27 22:40:55 +0000
commit37e365b4908467386d1d9a6f1633bbc18d585c87 (patch)
tree3858e15b4511c608692123cdea78976ecd9f8962 /omapip/protocol.c
parent14bb0a3fd90a84a88bcbae2733e5563653684dea (diff)
downloadisc-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.c2
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);