summaryrefslogtreecommitdiff
path: root/omapip/connection.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-04-20 19:24:20 +0000
committerTed Lemon <source@isc.org>2001-04-20 19:24:20 +0000
commitc4cbdd140766aed64dbbdf213bc44bdb337b0e47 (patch)
tree0233d31d3e609466b8d4c70fd6bcbc6e29c5bb3a /omapip/connection.c
parent9bf59e83532ff0d2e330efbde99e5c654840fa73 (diff)
downloadisc-dhcp-c4cbdd140766aed64dbbdf213bc44bdb337b0e47.tar.gz
Undo previous change.
Diffstat (limited to 'omapip/connection.c')
-rw-r--r--omapip/connection.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/omapip/connection.c b/omapip/connection.c
index 082d89b5..b87e9867 100644
--- a/omapip/connection.c
+++ b/omapip/connection.c
@@ -670,15 +670,11 @@ isc_result_t omapi_connection_reaper (omapi_object_t *h)
log_debug ("omapi_connection_reaper(): disconnect");
#endif
omapi_disconnect (h, 1);
- if (c -> outer && c -> outer -> type == omapi_type_io_object)
- omapi_unregister_io_object (c -> outer);
}
if (c -> state == omapi_connection_closed) {
#ifdef DEBUG_PROTOCOL
log_debug ("omapi_connection_reaper(): closed");
#endif
- if (c -> outer && c -> outer -> type == omapi_type_io_object)
- omapi_unregister_io_object (c -> outer);
return ISC_R_NOTCONNECTED;
}
return ISC_R_SUCCESS;